termux-packages/packages/indent/lexi.c.patch

21 lines
483 B
Diff

--- ../cache/indent-2.2.11/src/lexi.c 2009-11-11 19:36:32.000000000 +0000
+++ ./src/lexi.c 2018-03-12 23:14:07.881637140 +0000
@@ -199,7 +199,7 @@
/* Include code generated by gperf */
#ifdef __GNUC__
-__inline
+static __inline
#endif
templ_ty *is_reserved (const char *str, unsigned int len);
@@ -213,7 +213,7 @@
#undef MAX_WORD_LENGTH
#ifdef __GNUC__
-__inline
+static __inline
#endif
templ_ty *is_reserved_cc (register const char *str, register unsigned int len);