From: Miles Bader Date: Sun, 2 Mar 1997 18:41:32 +0000 (+0000) Subject: (__need_error_t): New macro, before including . [!__const] (__const):... X-Git-Tag: cvs/libc-970303 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1a2b102df91d6e478d1fa25d8a3e38f0b98e374;p=thirdparty%2Fglibc.git (__need_error_t): New macro, before including . [!__const] (__const): New macro. [!__error_t_defined] (error_t): New typedef. --- diff --git a/string/argz.h b/string/argz.h index 255e1d345de..e17b742cf73 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 The GNU C Library is free software; you can redistribute it and/or @@ -22,9 +22,18 @@ #define __ARGZ_H__ 1 #include -#include /* Define error_t. */ +#define __need_error_t +#include #include /* 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