From f5a837336ff575f67290d428e813172b3fa5264d Mon Sep 17 00:00:00 2001 From: eschnett Date: Thu, 13 Sep 2012 18:48:52 +0000 Subject: Disable K&R prototype for getopt() git-svn-id: http://svn.cactuscode.org/flesh/trunk@4868 17b73243-c579-4c4c-a9d2-2d5706c11dac --- src/gnu/getopt.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gnu/getopt.h b/src/gnu/getopt.h index b0147e9d..09da8572 100644 --- a/src/gnu/getopt.h +++ b/src/gnu/getopt.h @@ -150,7 +150,9 @@ extern int _getopt_internal (int __argc, char *const *__argv, int __long_only); # endif #else /* not __STDC__ */ -extern int getopt (); +/* The declaration below leads to a prototype mismatch with + IBM XL C/C++ for AIX, V11.1 (5724-X13), Version: 11.01.0000.0005 */ +/* extern int getopt (); */ # ifndef __need_getopt extern int getopt_long (); extern int getopt_long_only (); -- cgit v1.2.3