summaryrefslogtreecommitdiff
path: root/Build/source/texk/chktex/chktex-1.6.6-PATCHES/patch-06-extern
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/chktex/chktex-1.6.6-PATCHES/patch-06-extern')
-rw-r--r--Build/source/texk/chktex/chktex-1.6.6-PATCHES/patch-06-extern43
1 files changed, 0 insertions, 43 deletions
diff --git a/Build/source/texk/chktex/chktex-1.6.6-PATCHES/patch-06-extern b/Build/source/texk/chktex/chktex-1.6.6-PATCHES/patch-06-extern
deleted file mode 100644
index f99a34f9f6c..00000000000
--- a/Build/source/texk/chktex/chktex-1.6.6-PATCHES/patch-06-extern
+++ /dev/null
@@ -1,43 +0,0 @@
- Remove the obsolete ASM_HASHWORD stuff (for Amiga)
- avoiding extern decls from *.c files.
-
-diff -ur chktex-1.6.6.orig/Utility.c chktex-1.6.6/Utility.c
---- chktex-1.6.6.orig/Utility.c 2010-12-18 22:18:49.000000000 +0100
-+++ chktex-1.6.6/Utility.c 2012-04-16 14:20:46.000000000 +0200
-@@ -31,12 +31,7 @@
- #include "Resource.h"
- #include "OpSys.h"
-
--#ifdef ASM_HASHWORD
--extern unsigned short HashWord(const char *a);
--typedef unsigned short HASH_TYPE;
--#else
- typedef unsigned long HASH_TYPE;
--#endif
-
- /***************************** SUPPORT FUNCTIONS ************************/
-
-@@ -389,14 +384,12 @@
- /*************************** HASH INDEX **************************/
-
- /*
-- * Hashes a string. The string ought be rather short. We use an asm
-- * version the Amiga; note that this returns an unsigned short instead.
-+ * Hashes a string. The string ought be rather short.
- *
- * The algorithm was designed by Peter Weinberger. This version was
- * adapted from Dr Dobb's Journal April 1996 page 26.
- */
-
--#ifndef ASM_HASHWORD
- static unsigned long HashWord(const char *str)
- {
- register unsigned long h = 0, hbit, c;
-@@ -411,7 +404,6 @@
-
- return (h);
- }
--#endif
-
- /*
- * Inserts a string into a hash index. Note: You'll have to