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

@ -37,7 +37,6 @@ static char sccsid[] = "@(#)fts.c 8.6 (Berkeley) 8/14/94";
#ifdef __CYGWIN__
#include "winsup.h"
#include <sys/statfs.h>
#define __FBSDID(x)
#define _open open
#define _close close
#endif