Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-02-24 06:53:22 +0300
committerChristopher Faylor <me@cgf.cx>2000-02-24 06:53:22 +0300
commit65b959847034190d9af9bb66dac4ba3fa0aed844 (patch)
treee39f1d88fbf5fc74572e00326b9d3e4cdeefe7a2 /winsup/cygwin/regexp
parent2528588a759447dfd1e383ace086dc8628eb40db (diff)
Fix final round of gcc warnings relating to unused parameters.
Diffstat (limited to 'winsup/cygwin/regexp')
-rw-r--r--winsup/cygwin/regexp/regerror.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/regexp/regerror.c b/winsup/cygwin/regexp/regerror.c
index ab6954e08..b07f669bc 100644
--- a/winsup/cygwin/regexp/regerror.c
+++ b/winsup/cygwin/regexp/regerror.c
@@ -8,8 +8,7 @@ static char *rcsid = "$Id$";
#include <stdio.h>
void
-regerror(s)
-const char *s;
+regerror(const char *s __attribute__ ((unused)))
{
#ifdef ERRAVAIL
error("regexp: %s", s);