diff options
author | Aaron Crane <arc@cpan.org> | 2017-10-12 18:50:15 +0200 |
---|---|---|
committer | Aaron Crane <arc@cpan.org> | 2017-10-21 16:52:27 +0100 |
commit | 3d97541cde09d330e1c16246cbe085f4717abb01 (patch) | |
tree | 7449d10641b981b261f2989f41c009dddc476b4f /config_h.SH | |
parent | c9db53f47fcab6bc813d34e149444282f9aef29c (diff) | |
download | perl-3d97541cde09d330e1c16246cbe085f4717abb01.tar.gz |
Rely on C89 prototypes
The Configure changes here were generated using a version of metaconfig
that modifies the prototype.U and Protochk.U units to assume that C89
prototypes work.
Diffstat (limited to 'config_h.SH')
-rwxr-xr-x | config_h.SH | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/config_h.SH b/config_h.SH index 9f79f4d4db..812fd02e28 100755 --- a/config_h.SH +++ b/config_h.SH @@ -2323,24 +2323,6 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_mymalloc MYMALLOC /**/ -/* 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 - /* 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 |