src/world/mandoc/mandoc-multiple-definitions...

37 lines
920 B
Diff
Raw Permalink Normal View History

diff -Naur mandoc-1.14.5.orig/compat_err.c mandoc-1.14.5/compat_err.c
--- mandoc-1.14.5.orig/compat_err.c 2019-03-10 05:56:43.000000000 -0400
+++ mandoc-1.14.5/compat_err.c 2020-06-04 01:34:38.569434196 -0400
@@ -2,7 +2,7 @@
#if HAVE_ERR
-int dummy;
+static int dummy;
#else
diff -Naur mandoc-1.14.5.orig/compat_getline.c mandoc-1.14.5/compat_getline.c
--- mandoc-1.14.5.orig/compat_getline.c 2019-03-10 05:56:43.000000000 -0400
+++ mandoc-1.14.5/compat_getline.c 2020-06-04 01:34:59.256400982 -0400
@@ -2,7 +2,7 @@
#if HAVE_GETLINE
-int dummy;
+static int dummy;
#else
diff -Naur mandoc-1.14.5.orig/compat_reallocarray.c mandoc-1.14.5/compat_reallocarray.c
--- mandoc-1.14.5.orig/compat_reallocarray.c 2019-03-10 05:56:43.000000000 -0400
+++ mandoc-1.14.5/compat_reallocarray.c 2020-06-04 01:35:26.396753858 -0400
@@ -2,7 +2,7 @@
#if HAVE_REALLOCARRAY
-int dummy;
+static int dummy;
#else