openbsd-ports/textproc/pinfo/patches/patch-src_initializelinks_c
tb 174548e778 pinfo: fix for -fno-common & other housekeeping
extern redefinition of use_manual and turn some inline functions into
static inline to fix build with -O0. Regen PLIST while there.

ok espie (maintainer)
2021-02-04 21:04:07 +00:00

15 lines
451 B
Plaintext

$OpenBSD: patch-src_initializelinks_c,v 1.1 2021/02/04 21:04:08 tb Exp $
Index: src/initializelinks.c
--- src/initializelinks.c.orig
+++ src/initializelinks.c
@@ -75,7 +75,7 @@ compare_tag_table_string(char *base, char *compared)
* checks if an item belongs to tag table. returns 1 on success and 0 on
* failure. It should be optimised...
*/
-inline int
+static inline int
exists_in_tag_table(char *item)
{
if (gettagtablepos(item) != -1)