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:
@ -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 *);
|
||||
|
Reference in New Issue
Block a user