diff options
Diffstat (limited to 'win32')
-rw-r--r-- | win32/config_H.bc | 24 | ||||
-rw-r--r-- | win32/config_H.gc | 24 | ||||
-rw-r--r-- | win32/config_H.vc | 24 | ||||
-rw-r--r-- | win32/config_H.win64 | 22 |
4 files changed, 23 insertions, 71 deletions
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 /**/ |