gentoo/dev-db/cdb/files/cdb-inline.patch
Akinori Hattori 58d46a271f
dev-db/cdb: fix build
Closes: https://bugs.gentoo.org/693094
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Akinori Hattori <hattya@gentoo.org>
2021-11-10 22:40:47 +09:00

12 lines
251 B
Diff

--- a/cdbmake.c
+++ b/cdbmake.c
@@ -26,7 +26,7 @@
strerr_die2x(111,FATAL,"unable to read input: bad format");
}
-inline void get(char *ch)
+static inline void get(char *ch)
{
switch(buffer_GETC(buffer_0,ch)) {
case 0: die_readformat();