Mercurial > cpython-lru_cache-weakref
diff Modules/syslogmodule.c @ 13502:7348cceee8fa legacy-trunk
ANSI-fication
| author | Peter Schneider-Kamp <nowonder@nowonder.de> |
|---|---|
| date | Mon, 10 Jul 2000 12:29:26 +0000 |
| parents | dc65c5f6ad7c |
| children | 5b727ab37092 |
line wrap: on
line diff
--- a/Modules/syslogmodule.c Mon Jul 10 12:15:54 2000 +0000 +++ b/Modules/syslogmodule.c Mon Jul 10 12:29:26 2000 +0000 @@ -53,9 +53,7 @@ static PyObject * -syslog_openlog(self, args) - PyObject * self; - PyObject * args; +syslog_openlog(PyObject * self, PyObject * args) { long logopt = 0; long facility = LOG_USER; @@ -80,9 +78,7 @@ static PyObject * -syslog_syslog(self, args) - PyObject * self; - PyObject * args; +syslog_syslog(PyObject * self, PyObject * args) { char *message; int priority = LOG_INFO; @@ -101,9 +97,7 @@ } static PyObject * -syslog_closelog(self, args) - PyObject * self; - PyObject * args; +syslog_closelog(PyObject *self, PyObject *args) { if (!PyArg_ParseTuple(args, ":closelog")) return NULL; @@ -115,9 +109,7 @@ } static PyObject * -syslog_setlogmask(self, args) - PyObject * self; - PyObject * args; +syslog_setlogmask(PyObject *self, PyObject *args) { long maskpri, omaskpri; @@ -128,9 +120,7 @@ } static PyObject * -syslog_log_mask(self, args) - PyObject * self; - PyObject * args; +syslog_log_mask(PyObject *self, PyObject *args) { long mask; long pri; @@ -141,9 +131,7 @@ } static PyObject * -syslog_log_upto(self, args) - PyObject * self; - PyObject * args; +syslog_log_upto(PyObject *self, PyObject *args) { long mask; long pri; @@ -168,10 +156,7 @@ /* helper function for initialization function */ static void -ins(d, s, x) - PyObject *d; - char *s; - long x; +ins(PyObject *d, char *s, long x) { PyObject *v = PyInt_FromLong(x); if (v) {
