Adapt to changes in newlib's sys/cdefs.h:

* include/sys/sysinfo.h (struct sysinfo): Rename __unused member to __f.
	* libc/fts.c (__FBSDID): Drop definition.
	* regex/regexec.c (__unused): Drop definition.
This commit is contained in:
Corinna Vinschen
2013-04-22 10:33:09 +00:00
parent 9770af188f
commit a1467f6434
4 changed files with 9 additions and 7 deletions

View File

@ -62,10 +62,6 @@ __FBSDID("$FreeBSD: src/lib/libc/regex/regexec.c,v 1.8 2007/06/11 03:05:54 delph
#include "utils.h"
#include "regex2.h"
#ifdef __CYGWIN__
#define __unused __attribute__ ((unused))
#endif
static int nope __unused = 0; /* for use in asserts; shuts lint up */
static __inline size_t