summaryrefslogtreecommitdiffstats
path: root/argp-standalone/argp-fmtstream.c
diff options
context:
space:
mode:
authorEmmanuel Dreyfus <manu@netbsd.org>2014-01-22 14:47:23 +0100
committerAnand Avati <avati@redhat.com>2014-01-22 17:32:36 -0800
commitb2dfa011a3fdcb7d22764d143517d0fbd1c2a201 (patch)
tree79df825c08b33f79b0463b77ce31afb928226955 /argp-standalone/argp-fmtstream.c
parent6c6c7eba87190bfe3c721faaa190949ff611405b (diff)
Fix build with c99 compilers
BUG: 764655 Change-Id: If5dfdc9c7427bd3d39d8da8f79e33ae2da6a3137 Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org> Reviewed-on: http://review.gluster.org/6034 Reviewed-by: Harshavardhana <harsha@harshavardhana.net> Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'argp-standalone/argp-fmtstream.c')
-rw-r--r--argp-standalone/argp-fmtstream.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/argp-standalone/argp-fmtstream.c b/argp-standalone/argp-fmtstream.c
index 7f792854fc3..494b6b31d12 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
@@ -471,5 +472,6 @@ __argp_fmtstream_point (argp_fmtstream_t __fs)
__argp_fmtstream_update (__fs);
return __fs->point_col >= 0 ? __fs->point_col : 0;
}
+#endif /* __STDC_VERSION__ - 199900L < 1 */
#endif /* !ARGP_FMTSTREAM_USE_LINEWRAP */