From 03390127c7e005a1218886ac4afafdc35c1ed2f1 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 23 Mar 2005 14:49:45 +0000 Subject: Undo previous delta --- include/getopt.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include/getopt.h') diff --git a/include/getopt.h b/include/getopt.h index e5470e625f..a99a229015 100644 --- a/include/getopt.h +++ b/include/getopt.h @@ -106,12 +106,10 @@ struct option to find the declaration so provide a fully prototyped one. If it is 1, we found it so don't provide any declaration at all. */ #if !HAVE_DECL_GETOPT -#if defined (__GNU_LIBRARY__) || defined (HAVE_DECL_GETOPT) || defined (__FreeBSD__) #if defined (__GNU_LIBRARY__) || defined (HAVE_DECL_GETOPT) /* Many other libraries have conflicting prototypes for getopt, with differences in the consts, in unistd.h. To avoid compilation - errors, only prototype getopt for environments where we know that - there will ben o conflicts. */ + errors, only prototype getopt for the GNU C library. */ extern int getopt (int argc, char *const *argv, const char *shortopts); #else #ifndef __cplusplus -- cgit v1.2.1