From 1af253e4c7f21d4cc9ad1f90ce2c667901be9abf Mon Sep 17 00:00:00 2001 From: christos Date: Tue, 6 Nov 2007 19:21:18 +0000 Subject: [PATCH] remove featuretest.h and NETBSD_SOURCE conditional ifdefs. This is not a standard header and does not have namespace issues. --- include/getopt.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/include/getopt.h b/include/getopt.h index a7efb58b612e..63bb69b9ee36 100644 --- a/include/getopt.h +++ b/include/getopt.h @@ -1,4 +1,4 @@ -/* $NetBSD: getopt.h,v 1.7 2005/02/03 04:39:32 perry Exp $ */ +/* $NetBSD: getopt.h,v 1.8 2007/11/06 19:21:18 christos Exp $ */ /*- * Copyright (c) 2000 The NetBSD Foundation, Inc. @@ -40,13 +40,11 @@ #define _GETOPT_H_ #include -#include #include /* * Gnu like getopt_long() and BSD4.4 getsubopt()/optreset extensions */ -#if defined(_NETBSD_SOURCE) || defined(HAVE_NBTOOL_CONFIG_H) #define no_argument 0 #define required_argument 1 #define optional_argument 2 @@ -64,13 +62,10 @@ struct option { /* if flag not NULL, value to set *flag to; else return value */ int val; }; -#endif -#if defined(_NETBSD_SOURCE) __BEGIN_DECLS int getopt_long(int, char * const *, const char *, const struct option *, int *); __END_DECLS -#endif #endif /* !_GETOPT_H_ */