mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 14:07:27 -08:00
Inclusion of existing patch, removal of extern decl and K&R def Closes: https://bugs.gentoo.org/880525 Closes: https://bugs.gentoo.org/948904 Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com> Signed-off-by: Sam James <sam@gentoo.org>
14 lines
323 B
Diff
14 lines
323 B
Diff
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);
|