Kaydet (Commit) 59461c70 authored tarafından Guido van Rossum's avatar Guido van Rossum

use PROTO macro around fn prototype

üst 599de5ab
...@@ -305,7 +305,7 @@ do_mkvalue(p_format, p_va) ...@@ -305,7 +305,7 @@ do_mkvalue(p_format, p_va)
case 'S': case 'S':
case 'O': case 'O':
if (**p_format == '&') { if (**p_format == '&') {
typedef object *(*converter)(void *); typedef object *(*converter) PROTO((void *));
converter func = va_arg(*p_va, converter); converter func = va_arg(*p_va, converter);
void *arg = va_arg(*p_va, void *); void *arg = va_arg(*p_va, void *);
++*p_format; ++*p_format;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment