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

@ -1,6 +1,6 @@
/* sys/sysinfo.h
Copyright 2009, 2011 Red Hat, Inc.
Copyright 2009, 2011, 2013 Red Hat, Inc.
This file is part of Cygwin.
@ -30,7 +30,7 @@ struct sysinfo {
unsigned long totalhigh; /* Total high memory size */
unsigned long freehigh; /* Available high memory size */
unsigned int mem_unit; /* Memory unit size in bytes */
char __unused[10]; /* Pads structure to 64 bytes */
char __f[10]; /* Pads structure to 64 bytes */
};
extern int sysinfo (struct sysinfo *);