summaryrefslogtreecommitdiffstats
path: root/hash.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-05-02 06:49:57 -0700
committerKaz Kylheku <kaz@kylheku.com>2019-05-02 06:49:57 -0700
commit68c08aeeff7cedfaa7b1a92f7f20270128e830c5 (patch)
tree14c441022a18b92e8636cc33761f5288da90a02c /hash.c
parent065dde19dfbe50e91e313e5b3ccc033cfbe47f74 (diff)
downloadtxr-68c08aeeff7cedfaa7b1a92f7f20270128e830c5.tar.gz
txr-68c08aeeff7cedfaa7b1a92f7f20270128e830c5.tar.bz2
txr-68c08aeeff7cedfaa7b1a92f7f20270128e830c5.zip
C99: get rid of useless inline instantiations.
* hash.c, lib.c, parser.y, unwind.c: Remove useless declarations that were believed to be C99 inline instantiations. This was mistakenly added at the time the Solaris issue was discovered that _XOPEN_SOURCE values of 600 or greater require compiling in C99 mode. We use "static inline" under C99 for inline functions; instantiation is not applicable at all to inline functions that don't have external linkage.
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/hash.c b/hash.c
index 1aaaa375..857cd3c4 100644
--- a/hash.c
+++ b/hash.c
@@ -100,11 +100,6 @@ static struct hash_iter *reachable_iters;
static int hash_str_limit = INT_MAX, hash_rec_limit = 32;
-/* C99 inline instantiations. */
-#if __STDC_VERSION__ >= 199901L
-loc gethash_l(val self, val hash, val key, loc new_p);
-#endif
-
static u32_t randbox[] = {
0x49848f1bU, 0xe6255dbaU, 0x36da5bdcU, 0x47bf94e9U,
0x8cbcce22U, 0x559fc06aU, 0xd268f536U, 0xe10af79aU,