summaryrefslogtreecommitdiff
path: root/dev-libs/eb/files/eb-4.4.1-getopt.patch
blob: 56bedc4e20fb89132a43ede93d6f3b2e5a4ce43d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Remove declaration of getopt we already get from headers
https://bugs.gentoo.org/943827
--- a/libebutils/getopt.c
+++ b/libebutils/getopt.c
@@ -87,8 +87,6 @@
 
 #define	EMSG	""
 
-extern char *getenv();
-
 static int getopt_internal(int nargc, char * const *nargv,
     const char *options);
 static int gcd(int a, int b);