about summary refs log tree commit diff
path: root/string
diff options
context:
space:
mode:
Diffstat (limited to 'string')
-rw-r--r--string/argz.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/string/argz.h b/string/argz.h
index d9314e6bef..b6906d976e 100644
--- a/string/argz.h
+++ b/string/argz.h
@@ -27,12 +27,14 @@
 
 __BEGIN_DECLS
 
+#ifdef __USE_GNU
+
 /* Make a '\0' separated arg vector from a unix argv vector, returning it in
    ARGZ, and the total length in LEN.  If a memory allocation error occurs,
    ENOMEM is returned, otherwise 0.  The result can be destroyed using free. */
-extern error_t __argz_create __P ((char *const __argv[], char **__argz,
+extern error_t __argz_create __P ((char *__const __argv[], char **__argz,
 				   size_t *__len));
-extern error_t argz_create __P ((char *const __argv[], char **__argz,
+extern error_t argz_create __P ((char *__const __argv[], char **__argz,
 				 size_t *__len));
 
 /* Make a '\0' separated arg vector from a SEP separated list in
@@ -130,4 +132,6 @@ argz_next (char *__argz, size_t __argz_len, const char *__entry)
 }
 #endif /* optimizing GCC2 */
 
+#endif /* use GNU */
+
 #endif /* __ARGZ_H__ */