summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/regexp/v8_regerror.c
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2008-07-29 10:40:37 +0000
committerCorinna Vinschen <corinna@vinschen.de>2008-07-29 10:40:37 +0000
commitf9afd0ced7a68a90e4baba4385104e625264f990 (patch)
tree607ac41926c83d560df62397527f0e83567ee8d9 /winsup/cygwin/regexp/v8_regerror.c
parentf2cb69fd8e2f29eb098fa16d03adef1031ea7728 (diff)
downloadcygnal-f9afd0ced7a68a90e4baba4385104e625264f990.tar.gz
cygnal-f9afd0ced7a68a90e4baba4385104e625264f990.tar.bz2
cygnal-f9afd0ced7a68a90e4baba4385104e625264f990.zip
* Makefile.in (DLL_OFILES): Remove v8 regexp files.
(OBSOLETE_FUNCTIONS): Remove v8 regexp functions. (NEW_FUNCTIONS): Remove POSIX regex functions. * cygwin.din: Export POSIX regex functions with their correct symbol name. Export with posix_ prefix for backward compatibility. * syscalls.cc (regfree): Remove ancient fake function. * regex/regex.h: Remove renaming regex functions within Cygwin. * regexp/*: Remove. * include /cygwin/version,.h: Bump API minor number.
Diffstat (limited to 'winsup/cygwin/regexp/v8_regerror.c')
-rw-r--r--winsup/cygwin/regexp/v8_regerror.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/winsup/cygwin/regexp/v8_regerror.c b/winsup/cygwin/regexp/v8_regerror.c
deleted file mode 100644
index 56d63ff2f..000000000
--- a/winsup/cygwin/regexp/v8_regerror.c
+++ /dev/null
@@ -1,28 +0,0 @@
-/* regerror.c
-
- Copyright 1996, 1998, 2001 Red Hat, Inc.
-
-This file is part of Cygwin.
-
-This software is a copyrighted work licensed under the terms of the
-Cygwin license. Please consult the file "CYGWIN_LICENSE" for
-details. */
-
-#include "winsup.h"
-#include "regexp.h"
-#include <stdio.h>
-
-void __declspec(dllexport)
-regerror(const char *s __attribute__ ((unused)))
-{
-#ifdef ERRAVAIL
- error("regexp: %s", s);
-#else
-/*
- fprintf(stderr, "regexp(3): %s\n", s);
- exit(1);
-*/
- return; /* let std. egrep handle errors */
-#endif
- /* NOTREACHED */
-}