summaryrefslogtreecommitdiff
path: root/devel/gindent/patches/patch-src_lexi.c
blob: 5c48f544ce6c08d2e68346c09711a4a357e7c2d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
$NetBSD: patch-src_lexi.c,v 1.3 2016/02/15 09:38:10 jperkin Exp $

Remove bogus __inline.

--- src/lexi.c.orig	2008-03-11 18:50:42.000000000 +0000
+++ src/lexi.c
@@ -197,9 +197,6 @@ int main (void)
 #endif
 
 /* Include code generated by gperf */
-#ifdef __GNUC__
-__inline
-#endif
 templ_ty *is_reserved (const char *str, unsigned int len);
 
 #include "gperf.c"
@@ -211,9 +208,6 @@ templ_ty *is_reserved (const char *str, 
 #undef MIN_WORD_LENGTH
 #undef MAX_WORD_LENGTH
 
-#ifdef __GNUC__
-__inline
-#endif
 templ_ty *is_reserved_cc (register const char *str, register unsigned int len);
 
 #include "gperf-cc.c"