inline->static inline; fixes clang builds

This commit is contained in:
jca 2017-04-24 09:33:44 +00:00
parent 3dfb64375a
commit 38d406fd9e

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_YSM_Setup_c,v 1.1 2017/04/24 09:33:44 jca Exp $
--- src/YSM_Setup.c.orig Mon Apr 24 11:32:11 2017
+++ src/YSM_Setup.c Mon Apr 24 11:32:32 2017
@@ -743,7 +743,7 @@ int tries = 0;
#define YSMOPENCONFIG(rwx) (fd = YSM_fopen(YSM_cfgfile,rwx))
#define YSMCLOSECONFIG() YSM_fclose(fd)
-__inline void
+static __inline void
CFGWRITE(FILE *fd, const u_int8_t *foo, ...)
{
va_list args;