1
Remove extern decls from *.c files.
2
(Not installed in upstream 1.6.6. Propose static function instead?)
4
diff -ur chktex-1.6.4.orig/Utility.c chktex-1.6.4/Utility.c
5
--- chktex-1.6.4.orig/Utility.c 2010-06-13 14:50:28.000000000 +0200
6
+++ chktex-1.6.4/Utility.c 2012-03-29 14:09:07.000000000 +0200
12
-extern unsigned short HashWord(const char *a);
13
-typedef unsigned short HASH_TYPE;
15
-typedef unsigned long HASH_TYPE;
18
/***************************** SUPPORT FUNCTIONS ************************/
21
diff -ur chktex-1.6.4.orig/Utility.h chktex-1.6.4/Utility.h
22
--- chktex-1.6.4.orig/Utility.h 2010-05-02 21:59:49.000000000 +0200
23
+++ chktex-1.6.4/Utility.h 2012-03-29 14:09:07.000000000 +0200
25
#define FORWL(ind, list) for(ind = 0; ind < (list).Stack.Used; ind++)
29
+extern unsigned short HashWord(const char *a);
30
+typedef unsigned short HASH_TYPE;
32
+typedef unsigned long HASH_TYPE;