summaryrefslogtreecommitdiffstats
path: root/argp-standalone
diff options
context:
space:
mode:
Diffstat (limited to 'argp-standalone')
-rw-r--r--argp-standalone/argp-fmtstream.c5
-rw-r--r--argp-standalone/argp-parse.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/argp-standalone/argp-fmtstream.c b/argp-standalone/argp-fmtstream.c
index 7f792854fc3..681dc2f3968 100644
--- a/argp-standalone/argp-fmtstream.c
+++ b/argp-standalone/argp-fmtstream.c
@@ -389,6 +389,7 @@ __argp_fmtstream_printf (struct argp_fmtstream *fs, const char *fmt, ...)
weak_alias (__argp_fmtstream_printf, argp_fmtstream_printf)
#endif
+#if __STDC_VERSION__ - 199900L < 1
/* Duplicate the inline definitions in argp-fmtstream.h, for compilers
* that don't do inlining. */
size_t
@@ -472,4 +473,8 @@ __argp_fmtstream_point (argp_fmtstream_t __fs)
return __fs->point_col >= 0 ? __fs->point_col : 0;
}
+#endif /* __STDC_VERSION__ - 199900L < 1 */
+
#endif /* !ARGP_FMTSTREAM_USE_LINEWRAP */
+
+
diff --git a/argp-standalone/argp-parse.c b/argp-standalone/argp-parse.c
index 78f7bf139b6..80c56de6e93 100644
--- a/argp-standalone/argp-parse.c
+++ b/argp-standalone/argp-parse.c
@@ -1276,6 +1276,8 @@ __argp_input (const struct argp *argp, const struct argp_state *state)
weak_alias (__argp_input, _argp_input)
#endif
+#if __STDC_VERSION__ - 199900L < 1
+
/* Defined here, in case a user is not inlining the definitions in
* argp.h */
void
@@ -1303,3 +1305,6 @@ __option_is_end (__const struct argp_option *__opt)
{
return !__opt->key && !__opt->name && !__opt->doc && !__opt->group;
}
+
+#endif /* __STDC_VERSION__ - 199900L < 1 */
+