1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
$NetBSD: patch-ae,v 1.1 2004/01/20 17:37:58 seb Exp $
--- libiberty/functions.def.orig 1998-11-05 19:54:15.000000000 +0000
+++ libiberty/functions.def
@@ -34,15 +34,15 @@ DEF(strncasecmp, int, (s1, s2, n), char
DEF(strchr, char*, (s, c), CONST char *s AND int c)
DEF(strdup, char*, (s1), char * s1)
DEF(strrchr, char*, (s, c), CONST char *s AND int c)
-DEF(strstr, char*, (), NOTHING)
+DEF(strstr, char*, (s1, s2), CONST char *s1 AND CONST char *s2)
DEF(strtod, double, (), NOTHING)
DEF(strtol, long, (), NOTHING)
DEF(strtoul, unsigned long, (), NOTHING)
DEF(tmpnam, char *, (s), char * s)
DEF(vfork, int, (), NOTHING)
-DEF(vfprintf, int, (), NOTHING)
-DEF(vprintf, int, (), NOTHING)
-DEF(vsprintf, int, (), NOTHING)
+DEF(vfprintf, int, (s, f), PTR s AND CONST char *f)
+DEF(vprintf, int, (f), CONST char *f)
+DEF(vsprintf, int, (s, f), char *s AND CONST char *f)
DEF(sigsetmask, int, (), NOTHING)
DEF(alloca, PTR, (size), size_t size)
DEF(waitpid, int, (pid, statp, opts), int pid AND int* statp AND int opts )
|