diff options
author | Ulrich Drepper <drepper@redhat.com> | 1997-03-17 04:00:15 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1997-03-17 04:00:15 +0000 |
commit | 885ba001178ca2650dddf4f18f0330bb6b6e0a14 (patch) | |
tree | 7f02f1bcac210c87ead1c130a8f5eeeca11a7261 | |
parent | 3cfcebc8859353687a81ad1227d9fdb3e060b483 (diff) | |
download | glibc-885ba001178ca2650dddf4f18f0330bb6b6e0a14.tar.gz glibc-885ba001178ca2650dddf4f18f0330bb6b6e0a14.tar.xz glibc-885ba001178ca2650dddf4f18f0330bb6b6e0a14.zip |
(__need_error_t): New macro, before including <errno.h>
[!__const] (__const): New macro. [!__error_t_defined] (error_t): New typedef.
-rw-r--r-- | string/argz.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/string/argz.h b/string/argz.h index 255e1d345d..e17b742cf7 100644 --- a/string/argz.h +++ b/string/argz.h @@ -1,5 +1,5 @@ /* Routines for dealing with '\0' separated arg vectors. - Copyright (C) 1995, 1996 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. Written by Miles Bader <miles@gnu.ai.mit.edu> The GNU C Library is free software; you can redistribute it and/or @@ -22,9 +22,18 @@ #define __ARGZ_H__ 1 #include <features.h> -#include <errno.h> /* Define error_t. */ +#define __need_error_t +#include <errno.h> #include <string.h> /* Need size_t, and strchr is called below. */ +#ifndef __const +#define __const const +#endif + +#ifndef __error_t_defined +typedef int error_t; +#endif + __BEGIN_DECLS |