diff options
author | Aaron Crane <arc@cpan.org> | 2017-10-12 18:17:02 +0200 |
---|---|---|
committer | Aaron Crane <arc@cpan.org> | 2017-10-21 16:52:12 +0100 |
commit | 01f1810e38e276d92d051978043505422ee3211b (patch) | |
tree | a839bc9e763d9c37b7e64e1524ebd668bbd30658 /config_h.SH | |
parent | abaa7af6d89122e8180f976675a72244f6cf3f95 (diff) | |
download | perl-01f1810e38e276d92d051978043505422ee3211b.tar.gz |
Rely on C89 variadic prototypes
The Configure changes here were generated using a version of metaconfig
that copies U/modified/vaproto.U from dist/U/vaproto.U, and changes it to
refrain from promising to define a _V symbol (which would otherwise cause
the relevant probe to included in Configure).
Diffstat (limited to 'config_h.SH')
-rwxr-xr-x | config_h.SH | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/config_h.SH b/config_h.SH index 1a80585f5f..9f79f4d4db 100755 --- a/config_h.SH +++ b/config_h.SH @@ -859,28 +859,6 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #define STDCHAR $stdchar /**/ -/* CAN_VAPROTO: - * This variable is defined on systems supporting prototype declaration - * of functions with a variable number of arguments. - */ -/* _V: - * This macro is used to declare function parameters in prototypes for - * functions with a variable number of parameters. Use double parentheses. - * For example: - * - * int printf _V((char *fmt, ...)); - * - * Remember to use the plain simple _() macro when declaring a function - * with no variable number of arguments, since it might be possible to - * have a non-effect _V() macro and still get prototypes via _(). - */ -#$vaproto CAN_VAPROTO /**/ -#ifdef CAN_VAPROTO -#define _V(args) args -#else -#define _V(args) () -#endif - /* INTSIZE: * This symbol contains the value of sizeof(int) so that the C * preprocessor can make decisions based on it. |