]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
use PROTO macro around fn prototype
authorGuido van Rossum <guido@python.org>
Thu, 9 Mar 1995 12:10:50 +0000 (12:10 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 9 Mar 1995 12:10:50 +0000 (12:10 +0000)
Python/modsupport.c

index 518d433030015a20be7841f8b4a69e19ffa1519d..63f5267cc38b0a1cbab92af2ac6c6e215e36421f 100644 (file)
@@ -305,7 +305,7 @@ do_mkvalue(p_format, p_va)
                case 'S':
                case 'O':
                if (**p_format == '&') {
-                       typedef object *(*converter)(void *);
+                       typedef object *(*converter) PROTO((void *));
                        converter func = va_arg(*p_va, converter);
                        void *arg = va_arg(*p_va, void *);
                        ++*p_format;