From a1467f643489e4a1f0f6b3da2bb93b8dad15eae7 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 22 Apr 2013 10:33:09 +0000 Subject: 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. --- winsup/cygwin/regex/regexec.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'winsup/cygwin/regex/regexec.c') diff --git a/winsup/cygwin/regex/regexec.c b/winsup/cygwin/regex/regexec.c index ad12ada41..c400578b8 100644 --- a/winsup/cygwin/regex/regexec.c +++ b/winsup/cygwin/regex/regexec.c @@ -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 -- cgit v1.2.3