Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 59461c7

Browse files
committed
use PROTO macro around fn prototype
1 parent 599de5a commit 59461c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/modsupport.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ do_mkvalue(p_format, p_va)
305305
case 'S':
306306
case 'O':
307307
if (**p_format == '&') {
308-
typedef object *(*converter)(void *);
308+
typedef object *(*converter) PROTO((void *));
309309
converter func = va_arg(*p_va, converter);
310310
void *arg = va_arg(*p_va, void *);
311311
++*p_format;

0 commit comments

Comments
 (0)