12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- $OpenBSD: patch-libiberty_functions_def,v 1.3 2017/04/19 15:08:11 jca Exp $
- --- libiberty/functions.def.orig Thu Nov 5 20:54:15 1998
- +++ libiberty/functions.def Wed Apr 19 16:16:19 2017
- @@ -27,26 +27,26 @@ DEF(memcpy, PTR, (s1, s2, length), PTR s1 AND CONST PT
- DEF(memmove, PTR, (s1, s2, length), PTR s1 AND CONST PTR s2 AND size_t length)
- DEF(memset, PTR, (s, val, length), PTR s AND int val AND size_t length )
- DEF(random, long int, (), NOTHING)
- -DEF(rename, int, (f, t), char *f AND char *t)
- +DEF(rename, int, (f, t), CONST char *f AND CONST char *t)
- DEF(rindex, char*, (s, c), char *s AND int c)
- DEF(strcasecmp, int, (s1, s2), char *s1 AND char *s2)
- DEF(strncasecmp, int, (s1, s2, n), char *s1 AND char *s2 AND int n)
- 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, (f, fmt, ap), FILE *f AND CONST char *fmt AND va_list ap)
- +DEF(vprintf, int, (fmt, ap), CONST char *fmt AND va_list ap)
- +DEF(vsprintf, int, (s, fmt, ap), char *s AND CONST char *fmt AND va_list ap)
- 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 )
- -DEF(vasprintf, int, (), NOTHING)
- +DEF(vasprintf, int, (p, fmt, ap), char **p AND CONST char *fmt AND va_list ap)
-
- /* List of global variables that we want to look for in the host
- environment, and to generate an entry NEED_<variable> in config.h
- @@ -62,7 +62,7 @@ DEFVAR(sys_siglist, char *sys_siglist[], sys_siglist[0
- environment, and to generate an entry NEED_<funcname> in config.h
- if they are not found. */
-
- -DEFFUNC(strerror, char*, (), NOTHING)
- +DEFFUNC(strerror, char*, (err), int err)
- DEFFUNC(psignal, void, (signo, message), unsigned signo AND char *message)
- DEFFUNC(basename, char *, (name), CONST char *name)
- DEFFUNC(on_exit, void, (f, arg), void (*f)() AND char *arg)
|