| @@ -1,14 +1,12 @@ | | | @@ -1,14 +1,12 @@ |
1 | $NetBSD: patch-ab,v 1.4 2013/10/24 09:38:24 jperkin Exp $ | | 1 | $NetBSD: patch-ab,v 1.5 2014/10/15 22:08:11 joerg Exp $ |
2 | | | 2 | |
3 | --- killfile.c.orig 2006-01-02 23:24:47.000000000 +0000 | | 3 | --- killfile.c.orig 2002-12-01 21:17:41.000000000 +0000 |
4 | +++ killfile.c | | 4 | +++ killfile.c |
5 | @@ -55,7 +55,9 @@ int check_a_group(PMaster, POneKill, cha | | 5 | @@ -55,7 +55,6 @@ int check_a_group(PMaster, POneKill, cha |
6 | void print_debug(PKillStruct, const char *); | | 6 | void print_debug(PKillStruct, const char *); |
7 | void debug_one_kill(POneKill); | | 7 | void debug_one_kill(POneKill); |
8 | void add_to_linkedlist(pmy_regex *, pmy_regex); | | 8 | void add_to_linkedlist(pmy_regex *, pmy_regex); |
9 | +#if !defined(__DragonFly__) && !defined(__APPLE__) && !defined(__sun) | | 9 | -const char *strnstr(const char *, const char *); |
10 | const char *strnstr(const char *, const char *); | | | |
11 | +#endif | | | |
12 | pmy_regex regex_scan(char *, char, int, int, char); | | 10 | pmy_regex regex_scan(char *, char, int, int, char); |
13 | int regex_check(char *, pmy_regex, int); | | 11 | int regex_check(char *, pmy_regex, int); |
14 | | | 12 | |