@@ -26,7 +26,7 @@ from GNU regexp.
2626
2727#include "config.h" /* For Win* specific redefinition of printf c.s. */
2828
29- #include "myproto.h" /* For PROTO macro --Guido */
29+ #include "myproto.h" /* For Py_PROTO macro --Guido */
3030
3131#include <stdio.h>
3232#include <assert.h>
@@ -152,7 +152,7 @@ static char re_syntax_table[256];
152152
153153#endif /* emacs */
154154
155- static void re_compile_initialize PROTO ((void ));
155+ static void re_compile_initialize Py_PROTO ((void ));
156156static void re_compile_initialize ()
157157{
158158 int a ;
@@ -262,7 +262,7 @@ int syntax;
262262 return ret ;
263263}
264264
265- static int hex_char_to_decimal PROTO ((int ));
265+ static int hex_char_to_decimal Py_PROTO ((int ));
266266static int hex_char_to_decimal (ch )
267267int ch ;
268268{
@@ -773,7 +773,7 @@ regexp_t bufp;
773773#undef SET_FIELDS
774774
775775static void re_compile_fastmap_aux
776- PROTO ((char * , int , char * , char * , char * ) );
776+ Py_PROTO ((char * , int , char * , char * , char * ) );
777777static void re_compile_fastmap_aux (code , pos , visited , can_be_null , fastmap )
778778char * code , * visited , * can_be_null , * fastmap ;
779779int pos ;
@@ -870,7 +870,7 @@ int pos;
870870 }
871871}
872872
873- static int re_do_compile_fastmap PROTO ((char * , int , int , char * , char * ) );
873+ static int re_do_compile_fastmap Py_PROTO ((char * , int , int , char * , char * ) );
874874static int re_do_compile_fastmap (buffer , used , pos , can_be_null , fastmap )
875875char * buffer , * fastmap , * can_be_null ;
876876int used , pos ;
0 commit comments