summaryrefslogtreecommitdiff
path: root/posix
diff options
context:
space:
mode:
Diffstat (limited to 'posix')
-rw-r--r--posix/getopt.c2
-rw-r--r--posix/getopt1.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/posix/getopt.c b/posix/getopt.c
index f57f281297..eac576b83e 100644
--- a/posix/getopt.c
+++ b/posix/getopt.c
@@ -52,7 +52,7 @@
program understand `configure --with-gnu-libc' and omit the object files,
it is simpler to just do this in the source for each such file. */
-#define GETOPT_INTERFACE_VERSION 1
+#define GETOPT_INTERFACE_VERSION 2
#if !defined (_LIBC) && defined (__GLIBC__) && __GLIBC__ >= 2
#include <gnu-versions.h>
#if _GNU_GETOPT_INTERFACE_VERSION == GETOPT_INTERFACE_VERSION
diff --git a/posix/getopt1.c b/posix/getopt1.c
index 19fd4a0cb5..8347bb1331 100644
--- a/posix/getopt1.c
+++ b/posix/getopt1.c
@@ -43,7 +43,7 @@
program understand `configure --with-gnu-libc' and omit the object files,
it is simpler to just do this in the source for each such file. */
-#define GETOPT_INTERFACE_VERSION 1
+#define GETOPT_INTERFACE_VERSION 2
#if !defined (_LIBC) && defined (__GLIBC__) && __GLIBC__ >= 2
#include <gnu-versions.h>
#if _GNU_GETOPT_INTERFACE_VERSION == GETOPT_INTERFACE_VERSION