21 lines
451 B
Plaintext
21 lines
451 B
Plaintext
$OpenBSD: patch-include_util_h,v 1.1 2021/02/21 20:30:26 matthieu Exp $
|
|
|
|
fix for -fno-common
|
|
|
|
Index: include/util.h
|
|
--- include/util.h.orig
|
|
+++ include/util.h
|
|
@@ -37,9 +37,9 @@ char *str_nil(char *s);
|
|
int utflcpy(char *to, const char *from, int l);
|
|
uint strlcat(char *dst, const char *src, unsigned int siz);
|
|
|
|
-char *argv0;
|
|
-void *__p;
|
|
-int __i;
|
|
+extern char *argv0;
|
|
+extern void *__p;
|
|
+extern int __i;
|
|
#undef ARGBEGIN
|
|
#undef ARGEND
|
|
#undef ARGF
|