From 20ce7b12268a3d32b5b246928de5084322e709cf Mon Sep 17 00:00:00 2001 From: Gurusamy Sarathy Date: Wed, 2 Jun 1999 04:47:10 +0000 Subject: remove _() non-ansism p4raw-id: //depot/perl@3518 --- win32/GenCAPI.pl | 4 ++-- win32/config_H.bc | 6 +++--- win32/config_H.gc | 6 +++--- win32/config_H.vc | 6 +++--- win32/makemain.pl | 2 +- win32/perllib.c | 4 ++-- win32/runperl.c | 2 +- win32/win32.h | 14 +++++++------- win32/win32thread.h | 12 ++++++------ 9 files changed, 28 insertions(+), 28 deletions(-) (limited to 'win32') diff --git a/win32/GenCAPI.pl b/win32/GenCAPI.pl index 82e0b32fc7..60d199de27 100644 --- a/win32/GenCAPI.pl +++ b/win32/GenCAPI.pl @@ -119,8 +119,8 @@ while () { } $_ =~ s/^VIRTUAL\s*//; $_ =~ s/\s*__attribute__.*$/;/; - if ( /(.*)\s([A-z_]*[0-9A-z_]+\s)_\(\((.*)\)\);/ || - /(.*)\*([A-z_]*[0-9A-z_]+\s)_\(\((.*)\)\);/ ) { + if ( /(.*)\s([A-z_]*[0-9A-z_]+\s)\((.*)\);/ || + /(.*)\*([A-z_]*[0-9A-z_]+\s)\((.*)\);/ ) { $type = $1; $name = $2; $args = $3; diff --git a/win32/config_H.bc b/win32/config_H.bc index ced050cc64..611e03149f 100644 --- a/win32/config_H.bc +++ b/win32/config_H.bc @@ -577,7 +577,7 @@ /* HAS_SHMAT_PROTOTYPE: * This symbol, if defined, indicates that the sys/shm.h includes * a prototype for shmat(). Otherwise, it is up to the program to - * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess, + * guess one. Shmat_t shmat (int, Shmat_t, int) is a good guess, * but not always right so it should be emitted by the program only * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs. */ @@ -2149,7 +2149,7 @@ * This symbol, if defined, indicates that the system provides * a prototype for the telldir() function. Otherwise, it is up * to the program to supply one. A good guess is - * extern long telldir _((DIR*)); + * extern long telldir (DIR*); */ #define HAS_TELLDIR_PROTO /**/ @@ -2488,7 +2488,7 @@ * This symbol, if defined, indicates that the system provides * a prototype for the drand48() function. Otherwise, it is up * to the program to supply one. A good guess is - * extern double drand48 _((void)); + * extern double drand48 (void); */ /*#define HAS_DRAND48_PROTO /**/ diff --git a/win32/config_H.gc b/win32/config_H.gc index 5aa0c6b50e..efae62faf8 100644 --- a/win32/config_H.gc +++ b/win32/config_H.gc @@ -577,7 +577,7 @@ /* HAS_SHMAT_PROTOTYPE: * This symbol, if defined, indicates that the sys/shm.h includes * a prototype for shmat(). Otherwise, it is up to the program to - * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess, + * guess one. Shmat_t shmat (int, Shmat_t, int) is a good guess, * but not always right so it should be emitted by the program only * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs. */ @@ -2149,7 +2149,7 @@ * This symbol, if defined, indicates that the system provides * a prototype for the telldir() function. Otherwise, it is up * to the program to supply one. A good guess is - * extern long telldir _((DIR*)); + * extern long telldir (DIR*); */ #define HAS_TELLDIR_PROTO /**/ @@ -2488,7 +2488,7 @@ * This symbol, if defined, indicates that the system provides * a prototype for the drand48() function. Otherwise, it is up * to the program to supply one. A good guess is - * extern double drand48 _((void)); + * extern double drand48 (void); */ /*#define HAS_DRAND48_PROTO /**/ diff --git a/win32/config_H.vc b/win32/config_H.vc index cf7eab9067..620afdef75 100644 --- a/win32/config_H.vc +++ b/win32/config_H.vc @@ -577,7 +577,7 @@ /* HAS_SHMAT_PROTOTYPE: * This symbol, if defined, indicates that the sys/shm.h includes * a prototype for shmat(). Otherwise, it is up to the program to - * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess, + * guess one. Shmat_t shmat (int, Shmat_t, int) is a good guess, * but not always right so it should be emitted by the program only * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs. */ @@ -2149,7 +2149,7 @@ * This symbol, if defined, indicates that the system provides * a prototype for the telldir() function. Otherwise, it is up * to the program to supply one. A good guess is - * extern long telldir _((DIR*)); + * extern long telldir (DIR*); */ #define HAS_TELLDIR_PROTO /**/ @@ -2488,7 +2488,7 @@ * This symbol, if defined, indicates that the system provides * a prototype for the drand48() function. Otherwise, it is up * to the program to supply one. A good guess is - * extern double drand48 _((void)); + * extern double drand48 (void); */ /*#define HAS_DRAND48_PROTO /**/ diff --git a/win32/makemain.pl b/win32/makemain.pl index 740b6a212a..b230f58ff0 100644 --- a/win32/makemain.pl +++ b/win32/makemain.pl @@ -19,7 +19,7 @@ print "\tNULL,\n"; print "\t};\n"; print "\n"; foreach (@ARGV) { - print "EXTERN_C void boot_$_ _((CV* cv));\n" + print "EXTERN_C void boot_$_ (CV* cv);\n" } print <