gentoo/dev-libs/eb/files/eb-4.4.1-getopt.patch
NHOrus fde7d79949
dev-libs/eb: update EAPI 7 -> 8, port to C23, always enable ipv6
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>
2025-03-10 01:39:22 +00:00

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);