ports/irc/gseen.mod/files/patch-src_match.c
Bryan Drewery 7a490201e8 - Fix build with clang
Obtained from:	irc/eggdrop (patches from NetBSD)
2013-09-14 15:31:04 +00:00

13 lines
443 B
C

$NetBSD: patch-src_match.c,v 1.1 2012/11/16 00:35:28 joerg Exp $
--- src/match.c.orig 2012-11-15 10:29:42.000000000 +0000
+++ src/match.c
@@ -367,7 +367,7 @@ int cidr_match(char *m, char *n, int cou
/* Inline for cron_match (obviously).
* Matches a single field of a crontab expression.
*/
-inline int cron_matchfld(char *mask, int match)
+static inline int cron_matchfld(char *mask, int match)
{
int skip = 0, f, t;
char *p, *q;