diff options
Diffstat (limited to 'Modules/structmodule.c')
-rw-r--r-- | Modules/structmodule.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Modules/structmodule.c b/Modules/structmodule.c index 5b52a39..fac442f 100644 --- a/Modules/structmodule.c +++ b/Modules/structmodule.c @@ -406,11 +406,10 @@ typedef struct _formatdef { char format; int size; int alignment; - PyObject* (*unpack) Py_PROTO((const char *, - const struct _formatdef *)); - int (*pack) Py_PROTO((char *, - PyObject *, - const struct _formatdef *)); + PyObject* (*unpack)(const char *, + const struct _formatdef *); + int (*pack)(char *, PyObject *, + const struct _formatdef *); } formatdef; static PyObject * |