diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-05-02 06:49:57 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-05-02 06:49:57 -0700 |
commit | 68c08aeeff7cedfaa7b1a92f7f20270128e830c5 (patch) | |
tree | 14c441022a18b92e8636cc33761f5288da90a02c /hash.c | |
parent | 065dde19dfbe50e91e313e5b3ccc033cfbe47f74 (diff) | |
download | txr-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.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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, |