mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 07:26:29 -04:00
Turn a variable definition in a header file into a declaration. This fixes the build on FreeBSD 13+.
8 lines
189 B
C
8 lines
189 B
C
--- getargs.h.orig 2023-04-13 13:43:47 UTC
|
|
+++ getargs.h
|
|
@@ -37,4 +37,4 @@
|
|
|
|
/* getargs() prototype */
|
|
void getargs(int, char *[]);
|
|
-int flagargs[NUMARGS];
|
|
+extern int flagargs[NUMARGS];
|