Commit c5a037c0 c5a037c0b0972c6240e65934527d3f592c6970af by Sergey Poznyakoff

Provide declarations for strchrnul, strndup if necessary.

1 parent d8bccfcd
...@@ -76,6 +76,14 @@ char *alloca (); ...@@ -76,6 +76,14 @@ char *alloca ();
76 #include "argp-fmtstream.h" 76 #include "argp-fmtstream.h"
77 #include "argp-namefrob.h" 77 #include "argp-namefrob.h"
78 78
79 #if !HAVE_DECL_STRCHRNUL
80 extern char *strchrnul __P((const char *s, int c_in));
81 #endif
82 #if !HAVE_DECL_STRNDUP
83 extern char *strndup __P((const char *s, size_t n));
84 #endif
85
86
79 /* User-selectable (using an environment variable) formatting parameters. 87 /* User-selectable (using an environment variable) formatting parameters.
80 88
81 These may be specified in an environment variable called `ARGP_HELP_FMT', 89 These may be specified in an environment variable called `ARGP_HELP_FMT',
......