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 /parser.y | |
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 'parser.y')
-rw-r--r-- | parser.y | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -1305,11 +1305,6 @@ const int have_yydebug = YYDEBUG; int yylex(YYSTYPE *, yyscan_t scanner); -/* C99 inline instantiations. */ -#if __STDC_VERSION__ >= 199901L -val rlcp(val to, val from); -#endif - void yydebug_onoff(int val) { #if YYDEBUG |