summarylogtreecommitdiffstats
path: root/0000-use-extern-header-an2k.patch
blob: 7405ed83778bd040209b58ba8db9dcc40b3db7ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
diff --color -ruN ./an2k/include/histogen.h ./an2k/include/histogen.h
--- ./an2k/include/histogen.h	2015-03-03 20:54:02.000000000 +0000
+++ ./an2k/include/histogen.h	2024-04-22 14:58:04.000000000 +0100
@@ -75,7 +75,7 @@
   HISTO *next;
 };
 
-HISTO *histo_head;
+extern HISTO *histo_head;
 
 enum {
   INCLUDE_INVALID_FILES=5,
diff --color -ruN ./an2k/src/bin/histogen/chkfile.c ./an2k/src/bin/histogen/chkfile.c
--- ./an2k/src/bin/histogen/chkfile.c	2015-03-03 20:54:02.000000000 +0000
+++ ./an2k/src/bin/histogen/chkfile.c	2024-04-22 14:58:19.000000000 +0100
@@ -388,6 +388,8 @@
   }
 }
 
+HISTO *histo_head;
+
 /*****************************************************************************/
 int initialize_linked_list() {