summaryrefslogtreecommitdiff
path: root/libshouldbeinlibc
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-05-09 19:54:40 +0000
committerMiles Bader <miles@gnu.org>1997-05-09 19:54:40 +0000
commit38c7181dad6eff881c645a4501f1078ffaaf74c3 (patch)
treea17ed8546602ac8618fb86c587274b0ea68a62ed /libshouldbeinlibc
parentd7208883545fd41f20b82a52a1afc6f3b6183876 (diff)
[!__error_t_defined] (__error_t_defined): Define.
Diffstat (limited to 'libshouldbeinlibc')
-rw-r--r--libshouldbeinlibc/argp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libshouldbeinlibc/argp.h b/libshouldbeinlibc/argp.h
index 60310ade..da308be4 100644
--- a/libshouldbeinlibc/argp.h
+++ b/libshouldbeinlibc/argp.h
@@ -34,6 +34,7 @@
#ifndef __error_t_defined
typedef int error_t;
+#define __error_t_defined
#endif
#ifndef __P
@@ -379,7 +380,7 @@ extern error_t __argp_parse __P ((__const struct argp *__argp,
option --version is added (unless the ARGP_NO_HELP flag is used), which
will print this string followed by a newline and exit (unless the
ARGP_NO_EXIT flag is used). Overridden by ARGP_PROGRAM_VERSION_HOOK. */
-extern const char *argp_program_version;
+extern __const char *argp_program_version;
/* If defined or set by the user program to a non-zero value, then a default
option --version is added (unless the ARGP_NO_HELP flag is used), which