summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xConfigure2
-rw-r--r--Porting/Glossary7
-rw-r--r--Porting/config.sh21
-rw-r--r--Porting/config_H100
-rw-r--r--config_h.SH74
-rw-r--r--ext/Devel/PPPort/PPPort.pm2
-rw-r--r--malloc.c1
-rw-r--r--plan9/config.plan912
-rw-r--r--pod/perltoc.pod3
-rw-r--r--uconfig.h84
-rw-r--r--vos/config.alpha.h84
-rw-r--r--vos/config.ga.h84
-rw-r--r--win32/config_H.bc24
-rw-r--r--win32/config_H.gc24
-rw-r--r--win32/config_H.vc24
-rw-r--r--win32/config_H.win6422
-rw-r--r--wince/config.h24
-rw-r--r--wince/config_H.ce18
18 files changed, 263 insertions, 347 deletions
diff --git a/Configure b/Configure
index 59ef5ebb91..2d376c57e8 100755
--- a/Configure
+++ b/Configure
@@ -20,7 +20,7 @@
# $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
#
-# Generated on Sat Jan 19 05:47:21 EET 2002 [metaconfig 3.0 PL70]
+# Generated on Tue Jan 22 18:35:26 EET 2002 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.org)
cat >c1$$ <<EOF
diff --git a/Porting/Glossary b/Porting/Glossary
index 9c3a8cb563..eb2fe3df0c 100644
--- a/Porting/Glossary
+++ b/Porting/Glossary
@@ -2094,6 +2094,11 @@ glibpth (libpth.U):
find libraries. It may contain directories that do not exist on
this platform, libpth is the cleaned-up version.
+gmake (Loc.U):
+ This variable is used internally by Configure to determine the
+ full pathname (if any) of the gmake program. After Configure runs,
+ the value is reset to a plain "gmake" and is not useful.
+
grep (Loc.U):
This variable is used internally by Configure to determine the
full pathname (if any) of the grep program. After Configure runs,
@@ -3362,7 +3367,7 @@ shrpenv (libperl.U):
shrpenv=''
See the main perl Makefile.SH for actual working usage.
Alternatively, we might be able to use a command line option such
- as -R $archlibexp/CORE (Solaris, NetBSD) or -Wl,-rpath
+ as -R $archlibexp/CORE (Solaris) or -Wl,-rpath
$archlibexp/CORE (Linux).
shsharp (spitshell.U):
diff --git a/Porting/config.sh b/Porting/config.sh
index 6074c57414..5248db2da9 100644
--- a/Porting/config.sh
+++ b/Porting/config.sh
@@ -8,7 +8,7 @@
# Package name : perl5
# Source directory : .
-# Configuration time: Fri Nov 23 21:51:58 EET 2001
+# Configuration time: Tue Jan 22 18:37:28 EET 2002
# Configured by : jhi
# Target system : osf1 alpha.hut.fi v4.0 878 alpha
@@ -63,7 +63,7 @@ ccsymbols='__alpha=1 __LANGUAGE_C__=1 __osf__=1 __unix__=1 _LONGLONG=1 _SYSTYPE_
ccversion='V5.6-082'
cf_by='jhi'
cf_email='yourname@yourhost.yourplace.com'
-cf_time='Fri Nov 23 21:51:58 EET 2001'
+cf_time='Tue Jan 22 18:37:28 EET 2002'
charsize='1'
chgrp=''
chmod='chmod'
@@ -441,7 +441,7 @@ dlext='so'
dlsrc='dl_dlopen.xs'
doublesize='8'
drand01='drand48()'
-dynamic_ext='B ByteLoader Cwd DB_File Data/Dumper Devel/DProf Devel/Peek Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 NDBM_File ODBM_File Opcode POSIX PerlIO/Scalar PerlIO/Via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Time/HiRes Unicode/Normalize XS/Typemap attrs re'
+dynamic_ext='B ByteLoader Cwd DB_File Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 NDBM_File ODBM_File Opcode POSIX PerlIO/Scalar PerlIO/Via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Time/HiRes Unicode/Normalize XS/Typemap attrs re'
eagain='EAGAIN'
ebcdic='undef'
echo='echo'
@@ -450,7 +450,7 @@ emacs=''
eunicefix=':'
exe_ext=''
expr='expr'
-extensions='B ByteLoader Cwd DB_File Data/Dumper Devel/DProf Devel/Peek Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 NDBM_File ODBM_File Opcode POSIX PerlIO/Scalar PerlIO/Via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Time/HiRes Unicode/Normalize XS/Typemap attrs re Devel/PPPort Errno'
+extensions='B ByteLoader Cwd DB_File Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 NDBM_File ODBM_File Opcode POSIX PerlIO/Scalar PerlIO/Via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Time/HiRes Unicode/Normalize XS/Typemap attrs re Errno'
extras=''
fflushNULL='define'
fflushall='undef'
@@ -471,6 +471,7 @@ gidsign='1'
gidsize='4'
gidtype='gid_t'
glibpth='/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib'
+gmake='gmake'
grep='grep'
groupcat='cat /etc/group'
groupstype='gid_t'
@@ -594,7 +595,7 @@ issymlink='test -h'
ivdformat='"ld"'
ivsize='8'
ivtype='long'
-known_extensions='B ByteLoader Cwd DB_File Data/Dumper Devel/DProf Devel/Peek Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call GDBM_File I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 NDBM_File ODBM_File Opcode POSIX PerlIO/Scalar PerlIO/Via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Thread Time/HiRes Unicode/Normalize XS/Typemap attrs re threads threads/shared'
+known_extensions='B ByteLoader Cwd DB_File Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call GDBM_File I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 NDBM_File ODBM_File Opcode POSIX PerlIO/Scalar PerlIO/Via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Thread Time/HiRes Unicode/Normalize XS/Typemap attrs re threads threads/shared'
ksh=''
ld='ld'
lddlflags='-shared -expect_unresolved "*" -msym -std -s'
@@ -661,7 +662,7 @@ netdb_net_type='int'
nm='nm'
nm_opt='-p'
nm_so_opt=''
-nonxs_ext='Devel/PPPort Errno'
+nonxs_ext='Errno'
nroff='nroff'
nvEUformat='"E"'
nvFUformat='"F"'
@@ -686,10 +687,10 @@ patchlevel='7'
path_sep=':'
perl5='perl'
perl=''
-perl_patchlevel='13165'
+perl_patchlevel='14368'
perladmin='yourname@yourhost.yourplace.com'
perllibs='-lm -lutil'
-perlpath='/opt/perl/bin/perl'
+perlpath='/opt/perl/bin/perl5.7.2'
pg='pg'
phostname=''
pidtype='pid_t'
@@ -855,7 +856,7 @@ vendorlibexp=''
vendorprefix=''
vendorprefixexp=''
version='5.7.2'
-version_patchlevel_string='version 7 subversion 2 patch 13165'
+version_patchlevel_string='version 7 subversion 2 patch 14368'
versiononly='define'
vi=''
voidflags='15'
@@ -885,7 +886,7 @@ PERL_SUBVERSION=2
PERL_API_REVISION=5
PERL_API_VERSION=5
PERL_API_SUBVERSION=0
-PERL_PATCHLEVEL=13165
+PERL_PATCHLEVEL=14368
PERL_CONFIG_SH=true
# Variables propagated from previous config.sh file.
pp_sys_cflags='ccflags="$ccflags -DNO_EFF_ONLY_OK"'
diff --git a/Porting/config_H b/Porting/config_H
index 725f666721..ab44615bea 100644
--- a/Porting/config_H
+++ b/Porting/config_H
@@ -17,7 +17,7 @@
/*
* Package name : perl5
* Source directory : .
- * Configuration time: Fri Nov 23 21:51:58 EET 2001
+ * Configuration time: Tue Jan 22 18:37:28 EET 2002
* Configured by : jhi
* Target system : osf1 alpha.hut.fi v4.0 878 alpha
*/
@@ -92,12 +92,6 @@
#define const
#endif
-/* HAS_CRYPT:
- * This symbol, if defined, indicates that the crypt routine is available
- * to encrypt passwords and the like.
- */
-#define HAS_CRYPT /**/
-
/* HAS_CUSERID:
* This symbol, if defined, indicates that the cuserid routine is
* available to get character login names.
@@ -514,20 +508,6 @@
*/
#define HAS_SETSID /**/
-/* Shmat_t:
- * This symbol holds the return type of the shmat() system call.
- * Usually set to 'void *' or 'char *'.
- */
-/* 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,
- * but not always right so it should be emitted by the program only
- * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
- */
-#define Shmat_t void * /**/
-#define HAS_SHMAT_PROTOTYPE /**/
-
/* HAS_STRCHR:
* This symbol is defined to indicate that the strchr()/strrchr()
* functions are available for string searching. If not, try the
@@ -743,12 +723,6 @@
*/
/*#define I_MEMORY / **/
-/* I_NDBM:
- * This symbol, if defined, indicates that <ndbm.h> exists and should
- * be included.
- */
-#define I_NDBM /**/
-
/* I_NET_ERRNO:
* This symbol, if defined, indicates that <net/errno.h> exists and
* should be included.
@@ -908,24 +882,6 @@
*/
/*#define I_VFORK / **/
-/* CAN_PROTOTYPE:
- * If defined, this macro indicates that the C compiler can handle
- * function prototypes.
- */
-/* _:
- * This macro is used to declare function parameters for folks who want
- * to make declarations with prototypes using a different style than
- * the above macros. Use double parentheses. For example:
- *
- * int main _((int argc, char *argv[]));
- */
-#define CAN_PROTOTYPE /**/
-#ifdef CAN_PROTOTYPE
-#define _(args) args
-#else
-#define _(args) ()
-#endif
-
/* INTSIZE:
* This symbol contains the value of sizeof(int) so that the C
* preprocessor can make decisions based on it.
@@ -1254,7 +1210,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 /**/
@@ -1935,8 +1891,8 @@
* This symbol, if defined, indicates that the system provides
* a prototype for the sbrk() function. Otherwise, it is up
* to the program to supply one. Good guesses are
- * extern void* sbrk _((int));
- * extern void* sbrk _((size_t));
+ * extern void* sbrk(int);
+ * extern void* sbrk(size_t);
*/
#define HAS_SBRK_PROTO /**/
@@ -2294,7 +2250,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 /**/
@@ -3404,6 +3360,12 @@
#define PERL_XS_APIVERSION "5.005"
#define PERL_PM_APIVERSION "5.005"
+/* HAS_CRYPT:
+ * This symbol, if defined, indicates that the crypt routine is available
+ * to encrypt passwords and the like.
+ */
+#define HAS_CRYPT /**/
+
/* SETUID_SCRIPTS_ARE_SECURE_NOW:
* This symbol, if defined, indicates that the bug that prevents
* setuid scripts from being secure is not present in this kernel.
@@ -3424,6 +3386,26 @@
/*#define SETUID_SCRIPTS_ARE_SECURE_NOW / **/
/*#define DOSUID / **/
+/* Shmat_t:
+ * This symbol holds the return type of the shmat() system call.
+ * Usually set to 'void *' or 'char *'.
+ */
+/* 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,
+ * but not always right so it should be emitted by the program only
+ * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
+ */
+#define Shmat_t void * /**/
+#define HAS_SHMAT_PROTOTYPE /**/
+
+/* I_NDBM:
+ * This symbol, if defined, indicates that <ndbm.h> exists and should
+ * be included.
+ */
+#define I_NDBM /**/
+
/* I_STDARG:
* This symbol, if defined, indicates that <stdarg.h> exists and should
* be included.
@@ -3435,6 +3417,24 @@
#define I_STDARG /**/
/*#define I_VARARGS / **/
+/* CAN_PROTOTYPE:
+ * If defined, this macro indicates that the C compiler can handle
+ * function prototypes.
+ */
+/* PROTO_:
+ * This macro is used to declare function parameters for folks who want
+ * to make declarations with prototypes using a different style than
+ * the above macros. Use double parentheses. For example:
+ *
+ * int main PROTO_((int argc, char *argv[]));
+ */
+#define CAN_PROTOTYPE /**/
+#ifdef CAN_PROTOTYPE
+#define PROTO_(args) args
+#else
+#define PROTO_(args) ()
+#endif
+
/* SH_PATH:
* This symbol contains the full pathname to the shell used on this
* on this system to execute Bourne shell scripts. Usually, this will be
@@ -3534,7 +3534,7 @@
* This symbol, if defined, indicates that the system provides
* a prototype for the sockatmark() function. Otherwise, it is up
* to the program to supply one. A good guess is
- * extern int sockatmark _((int));
+ * extern int sockatmark(int);
*/
/*#define HAS_SOCKATMARK_PROTO / **/
diff --git a/config_h.SH b/config_h.SH
index b860075fd8..f91508ff8f 100644
--- a/config_h.SH
+++ b/config_h.SH
@@ -528,20 +528,6 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
*/
#$d_setsid HAS_SETSID /**/
-/* Shmat_t:
- * This symbol holds the return type of the shmat() system call.
- * Usually set to 'void *' or 'char *'.
- */
-/* 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,
- * but not always right so it should be emitted by the program only
- * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
- */
-#define Shmat_t $shmattype /**/
-#$d_shmatprototype HAS_SHMAT_PROTOTYPE /**/
-
/* HAS_STRCHR:
* This symbol is defined to indicate that the strchr()/strrchr()
* functions are available for string searching. If not, try the
@@ -916,24 +902,6 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
*/
#$i_vfork I_VFORK /**/
-/* CAN_PROTOTYPE:
- * If defined, this macro indicates that the C compiler can handle
- * function prototypes.
- */
-/* _:
- * This macro is used to declare function parameters for folks who want
- * to make declarations with prototypes using a different style than
- * the above macros. Use double parentheses. For example:
- *
- * int main _((int argc, char *argv[]));
- */
-#$prototype CAN_PROTOTYPE /**/
-#ifdef CAN_PROTOTYPE
-#define _(args) args
-#else
-#define _(args) ()
-#endif
-
/* INTSIZE:
* This symbol contains the value of sizeof(int) so that the C
* preprocessor can make decisions based on it.
@@ -1262,7 +1230,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
* 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);
*/
#$d_drand48proto HAS_DRAND48_PROTO /**/
@@ -1943,8 +1911,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
* This symbol, if defined, indicates that the system provides
* a prototype for the sbrk() function. Otherwise, it is up
* to the program to supply one. Good guesses are
- * extern void* sbrk _((int));
- * extern void* sbrk _((size_t));
+ * extern void* sbrk(int);
+ * extern void* sbrk(size_t);
*/
#$d_sbrkproto HAS_SBRK_PROTO /**/
@@ -2302,7 +2270,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
* 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*);
*/
#$d_telldirproto HAS_TELLDIR_PROTO /**/
@@ -3438,6 +3406,20 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
#$d_suidsafe SETUID_SCRIPTS_ARE_SECURE_NOW /**/
#$d_dosuid DOSUID /**/
+/* Shmat_t:
+ * This symbol holds the return type of the shmat() system call.
+ * Usually set to 'void *' or 'char *'.
+ */
+/* 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,
+ * but not always right so it should be emitted by the program only
+ * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
+ */
+#define Shmat_t $shmattype /**/
+#$d_shmatprototype HAS_SHMAT_PROTOTYPE /**/
+
/* I_NDBM:
* This symbol, if defined, indicates that <ndbm.h> exists and should
* be included.
@@ -3455,6 +3437,24 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
#$i_stdarg I_STDARG /**/
#$i_varargs I_VARARGS /**/
+/* CAN_PROTOTYPE:
+ * If defined, this macro indicates that the C compiler can handle
+ * function prototypes.
+ */
+/* PROTO_:
+ * This macro is used to declare function parameters for folks who want
+ * to make declarations with prototypes using a different style than
+ * the above macros. Use double parentheses. For example:
+ *
+ * int main PROTO_((int argc, char *argv[]));
+ */
+#$prototype CAN_PROTOTYPE /**/
+#ifdef CAN_PROTOTYPE
+#define PROTO_(args) args
+#else
+#define PROTO_(args) ()
+#endif
+
/* SH_PATH:
* This symbol contains the full pathname to the shell used on this
* on this system to execute Bourne shell scripts. Usually, this will be
@@ -3554,7 +3554,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
* This symbol, if defined, indicates that the system provides
* a prototype for the sockatmark() function. Otherwise, it is up
* to the program to supply one. A good guess is
- * extern int sockatmark _((int));
+ * extern int sockatmark(int);
*/
#$d_sockatmarkproto HAS_SOCKATMARK_PROTO /**/
diff --git a/ext/Devel/PPPort/PPPort.pm b/ext/Devel/PPPort/PPPort.pm
index a899b77369..d37452a602 100644
--- a/ext/Devel/PPPort/PPPort.pm
+++ b/ext/Devel/PPPort/PPPort.pm
@@ -462,7 +462,7 @@ static SV * newRV_noinc (SV * sv)
#if defined(NEED_newCONSTSUB)
static
#else
-extern void newCONSTSUB _((HV * stash, char * name, SV *sv));
+extern void newCONSTSUB(HV * stash, char * name, SV *sv);
#endif
#if defined(NEED_newCONSTSUB) || defined(NEED_newCONSTSUB_GLOBAL)
diff --git a/malloc.c b/malloc.c
index 3a19be4a48..c077e79d45 100644
--- a/malloc.c
+++ b/malloc.c
@@ -255,7 +255,6 @@
# include <stdlib.h>
# include <stdio.h>
# include <memory.h>
-# define _(arg) arg
# ifndef Malloc_t
# define Malloc_t void *
# endif
diff --git a/plan9/config.plan9 b/plan9/config.plan9
index 24b3075f71..a1ec401e82 100644
--- a/plan9/config.plan9
+++ b/plan9/config.plan9
@@ -1311,19 +1311,7 @@
* If defined, this macro indicates that the C compiler can handle
* function prototypes.
*/
-/* _:
- * This macro is used to declare function parameters for folks who want
- * to make declarations with prototypes using a different style than
- * the above macros. Use double parentheses. For example:
- *
- * int main _((int argc, char *argv[]));
- */
#define CAN_PROTOTYPE /**/
-#ifdef CAN_PROTOTYPE
-#define _(args) args /* config-skip */
-#else
-#define _(args) () /* config-skip */
-#endif
/* RANDBITS:
* This symbol contains the number of bits of random number the rand()
diff --git a/pod/perltoc.pod b/pod/perltoc.pod
index c1b4eb4050..785410dc9d 100644
--- a/pod/perltoc.pod
+++ b/pod/perltoc.pod
@@ -10158,7 +10158,8 @@ C<full_sed>
=item g
C<gccosandvers>, C<gccversion>, C<gidformat>, C<gidsign>, C<gidsize>,
-C<gidtype>, C<glibpth>, C<grep>, C<groupcat>, C<groupstype>, C<gzip>
+C<gidtype>, C<glibpth>, C<gmake>, C<grep>, C<groupcat>, C<groupstype>,
+C<gzip>
=item h
diff --git a/uconfig.h b/uconfig.h
index 1c3025ae70..0f3de6f6a2 100644
--- a/uconfig.h
+++ b/uconfig.h
@@ -504,20 +504,6 @@
*/
/*#define HAS_SETSID / **/
-/* Shmat_t:
- * This symbol holds the return type of the shmat() system call.
- * Usually set to 'void *' or 'char *'.
- */
-/* 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,
- * but not always right so it should be emitted by the program only
- * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
- */
-#define Shmat_t void * /**/
-/*#define HAS_SHMAT_PROTOTYPE / **/
-
/* HAS_STRCHR:
* This symbol is defined to indicate that the strchr()/strrchr()
* functions are available for string searching. If not, try the
@@ -733,12 +719,6 @@
*/
/*#define I_MEMORY / **/
-/* I_NDBM:
- * This symbol, if defined, indicates that <ndbm.h> exists and should
- * be included.
- */
-/*#define I_NDBM / **/
-
/* I_NET_ERRNO:
* This symbol, if defined, indicates that <net/errno.h> exists and
* should be included.
@@ -898,24 +878,6 @@
*/
/*#define I_VFORK / **/
-/* CAN_PROTOTYPE:
- * If defined, this macro indicates that the C compiler can handle
- * function prototypes.
- */
-/* _:
- * This macro is used to declare function parameters for folks who want
- * to make declarations with prototypes using a different style than
- * the above macros. Use double parentheses. For example:
- *
- * int main _((int argc, char *argv[]));
- */
-/*#define CAN_PROTOTYPE / **/
-#ifdef CAN_PROTOTYPE
-#define _(args) args
-#else
-#define _(args) ()
-#endif
-
/* INTSIZE:
* This symbol contains the value of sizeof(int) so that the C
* preprocessor can make decisions based on it.
@@ -1244,7 +1206,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 / **/
@@ -1925,8 +1887,8 @@
* This symbol, if defined, indicates that the system provides
* a prototype for the sbrk() function. Otherwise, it is up
* to the program to supply one. Good guesses are
- * extern void* sbrk _((int));
- * extern void* sbrk _((size_t));
+ * extern void* sbrk(int);
+ * extern void* sbrk(size_t);
*/
/*#define HAS_SBRK_PROTO / **/
@@ -2284,7 +2246,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 / **/
@@ -3420,6 +3382,26 @@
/*#define SETUID_SCRIPTS_ARE_SECURE_NOW / **/
/*#define DOSUID / **/
+/* Shmat_t:
+ * This symbol holds the return type of the shmat() system call.
+ * Usually set to 'void *' or 'char *'.
+ */
+/* 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,
+ * but not always right so it should be emitted by the program only
+ * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
+ */
+#define Shmat_t void * /**/
+/*#define HAS_SHMAT_PROTOTYPE / **/
+
+/* I_NDBM:
+ * This symbol, if defined, indicates that <ndbm.h> exists and should
+ * be included.
+ */
+/*#define I_NDBM / **/
+
/* I_STDARG:
* This symbol, if defined, indicates that <stdarg.h> exists and should
* be included.
@@ -3431,6 +3413,22 @@
#define I_STDARG /**/
/*#define I_VARARGS / **/
+/* CAN_PROTOTYPE:
+ * If defined, this macro indicates that the C compiler can handle
+ * function prototypes.
+ */
+/* PERL_PROTO_:
+ * This macro is used to declare function parameters for folks who want
+ * to make declarations with prototypes using a different style than
+ * the above macros. Use double parentheses. For example:
+ *
+ * int main PERL_PROTO_((int argc, char *argv[]));
+ */
+/*#define CAN_PROTOTYPE / **/
+#ifdef CAN_PROTOTYPE
+#else
+#endif
+
/* SH_PATH:
* This symbol contains the full pathname to the shell used on this
* on this system to execute Bourne shell scripts. Usually, this will be
@@ -3530,7 +3528,7 @@
* This symbol, if defined, indicates that the system provides
* a prototype for the sockatmark() function. Otherwise, it is up
* to the program to supply one. A good guess is
- * extern int sockatmark _((int));
+ * extern int sockatmark(int);
*/
/*#define HAS_SOCKATMARK_PROTO / **/
diff --git a/vos/config.alpha.h b/vos/config.alpha.h
index 8d39fe467f..bce8eb5e9e 100644
--- a/vos/config.alpha.h
+++ b/vos/config.alpha.h
@@ -504,20 +504,6 @@
*/
/*#define HAS_SETSID /**/
-/* Shmat_t:
- * This symbol holds the return type of the shmat() system call.
- * Usually set to 'void *' or 'char *'.
- */
-/* 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,
- * but not always right so it should be emitted by the program only
- * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
- */
-#define Shmat_t void * /**/
-#define HAS_SHMAT_PROTOTYPE /**/
-
/* HAS_STRCHR:
* This symbol is defined to indicate that the strchr()/strrchr()
* functions are available for string searching. If not, try the
@@ -733,12 +719,6 @@
*/
/*#define I_MEMORY /**/
-/* I_NDBM:
- * This symbol, if defined, indicates that <ndbm.h> exists and should
- * be included.
- */
-/*#define I_NDBM /**/
-
/* I_NET_ERRNO:
* This symbol, if defined, indicates that <net/errno.h> exists and
* should be included.
@@ -898,24 +878,6 @@
*/
/*#define I_VFORK /**/
-/* CAN_PROTOTYPE:
- * If defined, this macro indicates that the C compiler can handle
- * function prototypes.
- */
-/* _:
- * This macro is used to declare function parameters for folks who want
- * to make declarations with prototypes using a different style than
- * the above macros. Use double parentheses. For example:
- *
- * int main _((int argc, char *argv[]));
- */
-#define CAN_PROTOTYPE /**/
-#ifdef CAN_PROTOTYPE
-#define _(args) args
-#else
-#define _(args) ()
-#endif
-
/* INTSIZE:
* This symbol contains the value of sizeof(int) so that the C
* preprocessor can make decisions based on it.
@@ -1244,7 +1206,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 /**/
@@ -1925,8 +1887,8 @@
* This symbol, if defined, indicates that the system provides
* a prototype for the sbrk() function. Otherwise, it is up
* to the program to supply one. Good guesses are
- * extern void* sbrk _((int));
- * extern void* sbrk _((size_t));
+ * extern void* sbrk(int);
+ * extern void* sbrk(size_t);
*/
/*#define HAS_SBRK_PROTO /**/
@@ -2284,7 +2246,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 /**/
@@ -3420,6 +3382,26 @@
#define SETUID_SCRIPTS_ARE_SECURE_NOW /**/
/*#define DOSUID /**/
+/* Shmat_t:
+ * This symbol holds the return type of the shmat() system call.
+ * Usually set to 'void *' or 'char *'.
+ */
+/* 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,
+ * but not always right so it should be emitted by the program only
+ * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
+ */
+#define Shmat_t void * /**/
+#define HAS_SHMAT_PROTOTYPE /**/
+
+/* I_NDBM:
+ * This symbol, if defined, indicates that <ndbm.h> exists and should
+ * be included.
+ */
+/*#define I_NDBM /**/
+
/* I_STDARG:
* This symbol, if defined, indicates that <stdarg.h> exists and should
* be included.
@@ -3431,6 +3413,22 @@
#define I_STDARG /**/
/*#define I_VARARGS /**/
+/* CAN_PROTOTYPE:
+ * If defined, this macro indicates that the C compiler can handle
+ * function prototypes.
+ */
+/* PERL_PROTO_:
+ * This macro is used to declare function parameters for folks who want
+ * to make declarations with prototypes using a different style than
+ * the above macros. Use double parentheses. For example:
+ *
+ * int main PERL_PROTO_((int argc, char *argv[]));
+ */
+#define CAN_PROTOTYPE /**/
+#ifdef CAN_PROTOTYPE
+#else
+#endif
+
/* SH_PATH:
* This symbol contains the full pathname to the shell used on this
* on this system to execute Bourne shell scripts. Usually, this will be
@@ -3530,7 +3528,7 @@
* This symbol, if defined, indicates that the system provides
* a prototype for the sockatmark() function. Otherwise, it is up
* to the program to supply one. A good guess is
- * extern int sockatmark _((int));
+ * extern int sockatmark(int);
*/
/*#define HAS_SOCKATMARK_PROTO /**/
diff --git a/vos/config.ga.h b/vos/config.ga.h
index 974b6e1ac6..ef9cc07fe3 100644
--- a/vos/config.ga.h
+++ b/vos/config.ga.h
@@ -504,20 +504,6 @@
*/
#define HAS_SETSID /**/
-/* Shmat_t:
- * This symbol holds the return type of the shmat() system call.
- * Usually set to 'void *' or 'char *'.
- */
-/* 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,
- * but not always right so it should be emitted by the program only
- * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
- */
-#define Shmat_t void * /**/
-#define HAS_SHMAT_PROTOTYPE /**/
-
/* HAS_STRCHR:
* This symbol is defined to indicate that the strchr()/strrchr()
* functions are available for string searching. If not, try the
@@ -733,12 +719,6 @@
*/
/*#define I_MEMORY /**/
-/* I_NDBM:
- * This symbol, if defined, indicates that <ndbm.h> exists and should
- * be included.
- */
-/*#define I_NDBM /**/
-
/* I_NET_ERRNO:
* This symbol, if defined, indicates that <net/errno.h> exists and
* should be included.
@@ -898,24 +878,6 @@
*/
/*#define I_VFORK /**/
-/* CAN_PROTOTYPE:
- * If defined, this macro indicates that the C compiler can handle
- * function prototypes.
- */
-/* _:
- * This macro is used to declare function parameters for folks who want
- * to make declarations with prototypes using a different style than
- * the above macros. Use double parentheses. For example:
- *
- * int main _((int argc, char *argv[]));
- */
-#define CAN_PROTOTYPE /**/
-#ifdef CAN_PROTOTYPE
-#define _(args) args
-#else
-#define _(args) ()
-#endif
-
/* INTSIZE:
* This symbol contains the value of sizeof(int) so that the C
* preprocessor can make decisions based on it.
@@ -1244,7 +1206,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 /**/
@@ -1925,8 +1887,8 @@
* This symbol, if defined, indicates that the system provides
* a prototype for the sbrk() function. Otherwise, it is up
* to the program to supply one. Good guesses are
- * extern void* sbrk _((int));
- * extern void* sbrk _((size_t));
+ * extern void* sbrk(int);
+ * extern void* sbrk(size_t);
*/
/*#define HAS_SBRK_PROTO /**/
@@ -2284,7 +2246,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 /**/
@@ -3420,6 +3382,26 @@
#define SETUID_SCRIPTS_ARE_SECURE_NOW /**/
/*#define DOSUID /**/
+/* Shmat_t:
+ * This symbol holds the return type of the shmat() system call.
+ * Usually set to 'void *' or 'char *'.
+ */
+/* 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,
+ * but not always right so it should be emitted by the program only
+ * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
+ */
+#define Shmat_t void * /**/
+#define HAS_SHMAT_PROTOTYPE /**/
+
+/* I_NDBM:
+ * This symbol, if defined, indicates that <ndbm.h> exists and should
+ * be included.
+ */
+/*#define I_NDBM /**/
+
/* I_STDARG:
* This symbol, if defined, indicates that <stdarg.h> exists and should
* be included.
@@ -3431,6 +3413,22 @@
#define I_STDARG /**/
/*#define I_VARARGS /**/
+/* CAN_PROTOTYPE:
+ * If defined, this macro indicates that the C compiler can handle
+ * function prototypes.
+ */
+/* PERL_PROTO_:
+ * This macro is used to declare function parameters for folks who want
+ * to make declarations with prototypes using a different style than
+ * the above macros. Use double parentheses. For example:
+ *
+ * int main PERL_PROTO_((int argc, char *argv[]));
+ */
+#define CAN_PROTOTYPE /**/
+#ifdef CAN_PROTOTYPE
+#else
+#endif
+
/* SH_PATH:
* This symbol contains the full pathname to the shell used on this
* on this system to execute Bourne shell scripts. Usually, this will be
@@ -3530,7 +3528,7 @@
* This symbol, if defined, indicates that the system provides
* a prototype for the sockatmark() function. Otherwise, it is up
* to the program to supply one. A good guess is
- * extern int sockatmark _((int));
+ * extern int sockatmark(int);
*/
/*#define HAS_SOCKATMARK_PROTO /**/
diff --git a/win32/config_H.bc b/win32/config_H.bc
index d62882d834..38ada99bea 100644
--- a/win32/config_H.bc
+++ b/win32/config_H.bc
@@ -511,7 +511,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.
*/
@@ -902,19 +902,7 @@
* If defined, this macro indicates that the C compiler can handle
* function prototypes.
*/
-/* _:
- * This macro is used to declare function parameters for folks who want
- * to make declarations with prototypes using a different style than
- * the above macros. Use double parentheses. For example:
- *
- * int main _((int argc, char *argv[]));
- */
#define CAN_PROTOTYPE /**/
-#ifdef CAN_PROTOTYPE
-#define _(args) args
-#else
-#define _(args) ()
-#endif
/* INTSIZE:
* This symbol contains the value of sizeof(int) so that the C
@@ -1244,7 +1232,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 /**/
@@ -1925,8 +1913,8 @@
* This symbol, if defined, indicates that the system provides
* a prototype for the sbrk() function. Otherwise, it is up
* to the program to supply one. Good guesses are
- * extern void* sbrk _((int));
- * extern void* sbrk _((size_t));
+ * extern void* sbrk(int);
+ * extern void* sbrk(size_t);
*/
/*#define HAS_SBRK_PROTO /**/
@@ -2284,7 +2272,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 /**/
@@ -3530,7 +3518,7 @@
* This symbol, if defined, indicates that the system provides
* a prototype for the sockatmark() function. Otherwise, it is up
* to the program to supply one. A good guess is
- * extern int sockatmark _((int));
+ * extern int sockatmark(int);
*/
/*#define HAS_SOCKATMARK_PROTO /**/
diff --git a/win32/config_H.gc b/win32/config_H.gc
index ccedfff19a..65005aa9c4 100644
--- a/win32/config_H.gc
+++ b/win32/config_H.gc
@@ -511,7 +511,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.
*/
@@ -902,19 +902,7 @@
* If defined, this macro indicates that the C compiler can handle
* function prototypes.
*/
-/* _:
- * This macro is used to declare function parameters for folks who want
- * to make declarations with prototypes using a different style than
- * the above macros. Use double parentheses. For example:
- *
- * int main _((int argc, char *argv[]));
- */
#define CAN_PROTOTYPE /**/
-#ifdef CAN_PROTOTYPE
-#define _(args) args
-#else
-#define _(args) ()
-#endif
/* INTSIZE:
* This symbol contains the value of sizeof(int) so that the C
@@ -1244,7 +1232,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 /**/
@@ -1925,8 +1913,8 @@
* This symbol, if defined, indicates that the system provides
* a prototype for the sbrk() function. Otherwise, it is up
* to the program to supply one. Good guesses are
- * extern void* sbrk _((int));
- * extern void* sbrk _((size_t));
+ * extern void* sbrk(int);
+ * extern void* sbrk(size_t);
*/
/*#define HAS_SBRK_PROTO /**/
@@ -2284,7 +2272,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 /**/
@@ -3530,7 +3518,7 @@
* This symbol, if defined, indicates that the system provides
* a prototype for the sockatmark() function. Otherwise, it is up
* to the program to supply one. A good guess is
- * extern int sockatmark _((int));
+ * extern int sockatmark(int);
*/
/*#define HAS_SOCKATMARK_PROTO /**/
diff --git a/win32/config_H.vc b/win32/config_H.vc
index f85db9018c..02397c49a2 100644
--- a/win32/config_H.vc
+++ b/win32/config_H.vc
@@ -511,7 +511,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.
*/
@@ -896,19 +896,7 @@
* If defined, this macro indicates that the C compiler can handle
* function prototypes.
*/
-/* _:
- * This macro is used to declare function parameters for folks who want
- * to make declarations with prototypes using a different style than
- * the above macros. Use double parentheses. For example:
- *
- * int main _((int argc, char *argv[]));
- */
#define CAN_PROTOTYPE /**/
-#ifdef CAN_PROTOTYPE
-#define _(args) args
-#else
-#define _(args) ()
-#endif
/* INTSIZE:
* This symbol contains the value of sizeof(int) so that the C
@@ -1238,7 +1226,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 /**/
@@ -1919,8 +1907,8 @@
* This symbol, if defined, indicates that the system provides
* a prototype for the sbrk() function. Otherwise, it is up
* to the program to supply one. Good guesses are
- * extern void* sbrk _((int));
- * extern void* sbrk _((size_t));
+ * extern void* sbrk(int);
+ * extern void* sbrk(size_t);
*/
/*#define HAS_SBRK_PROTO /**/
@@ -2278,7 +2266,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 /**/
@@ -3530,7 +3518,7 @@
* This symbol, if defined, indicates that the system provides
* a prototype for the sockatmark() function. Otherwise, it is up
* to the program to supply one. A good guess is
- * extern int sockatmark _((int));
+ * extern int sockatmark(int);
*/
/*#define HAS_SOCKATMARK_PROTO /**/
diff --git a/win32/config_H.win64 b/win32/config_H.win64
index 43e8a95939..a8d1801cae 100644
--- a/win32/config_H.win64
+++ b/win32/config_H.win64
@@ -537,7 +537,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.
*/
@@ -934,19 +934,7 @@
* If defined, this macro indicates that the C compiler can handle
* function prototypes.
*/
-/* _:
- * This macro is used to declare function parameters for folks who want
- * to make declarations with prototypes using a different style than
- * the above macros. Use double parentheses. For example:
- *
- * int main _((int argc, char *argv[]));
- */
#define CAN_PROTOTYPE /**/
-#ifdef CAN_PROTOTYPE
-#define _(args) args
-#else
-#define _(args) ()
-#endif
/* SH_PATH:
* This symbol contains the full pathname to the shell used on this
@@ -1255,7 +1243,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 /**/
@@ -2117,7 +2105,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 /**/
@@ -3211,8 +3199,8 @@
* This symbol, if defined, indicates that the system provides
* a prototype for the sbrk() function. Otherwise, it is up
* to the program to supply one. Good guesses are
- * extern void* sbrk _((int));
- * extern void* sbrk _((size_t));
+ * extern void* sbrk(int);
+ * extern void* sbrk(size_t);
*/
/*#define HAS_SBRK_PROTO /**/
diff --git a/wince/config.h b/wince/config.h
index dbb40198f4..9f0710a049 100644
--- a/wince/config.h
+++ b/wince/config.h
@@ -517,7 +517,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.
*/
@@ -908,19 +908,7 @@
* If defined, this macro indicates that the C compiler can handle
* function prototypes.
*/
-/* _:
- * This macro is used to declare function parameters for folks who want
- * to make declarations with prototypes using a different style than
- * the above macros. Use double parentheses. For example:
- *
- * int main _((int argc, char *argv[]));
- */
#define CAN_PROTOTYPE /**/
-#ifdef CAN_PROTOTYPE
-#define _(args) args
-#else
-#define _(args) ()
-#endif
/* SH_PATH:
* This symbol contains the full pathname to the shell used on this
@@ -1241,7 +1229,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 /**/
@@ -1847,8 +1835,8 @@
* This symbol, if defined, indicates that the system provides
* a prototype for the sbrk() function. Otherwise, it is up
* to the program to supply one. Good guesses are
- * extern void* sbrk _((int));
- * extern void* sbrk _((size_t));
+ * extern void* sbrk(int);
+ * extern void* sbrk(size_t);
*/
/*#define HAS_SBRK_PROTO /**/
@@ -2206,7 +2194,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 /**/
@@ -3386,7 +3374,7 @@
* This symbol, if defined, indicates that the system provides
* a prototype for the sockatmark() function. Otherwise, it is up
* to the program to supply one. A good guess is
- * extern int sockatmark _((int));
+ * extern int sockatmark(int);
*/
/*#define HAS_SOCKATMARK_PROTO /**/
diff --git a/wince/config_H.ce b/wince/config_H.ce
index 622ccda788..da05692db7 100644
--- a/wince/config_H.ce
+++ b/wince/config_H.ce
@@ -563,7 +563,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.
*/
@@ -965,19 +965,7 @@
* If defined, this macro indicates that the C compiler can handle
* function prototypes.
*/
-/* _:
- * This macro is used to declare function parameters for folks who want
- * to make declarations with prototypes using a different style than
- * the above macros. Use double parentheses. For example:
- *
- * int main _((int argc, char *argv[]));
- */
#define CAN_PROTOTYPE /**/
-#ifdef CAN_PROTOTYPE
-#define _(args) args
-#else
-#define _(args) ()
-#endif
/* SH_PATH:
* This symbol contains the full pathname to the shell used on this
@@ -1292,7 +1280,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 /**/
@@ -2088,7 +2076,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 /**/