summaryrefslogtreecommitdiff
path: root/libguile/strerror.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2018-06-20 14:35:06 +0200
committerAndy Wingo <wingo@pobox.com>2018-06-20 14:35:06 +0200
commitd04ff278f588411a447303354df9c05d1dd23473 (patch)
tree3045a16796d15b309be2d9a3ba215916ec713bb6 /libguile/strerror.c
parentc495b44714788e0c7bdf56c703cecfcc30c536f6 (diff)
downloadguile-d04ff278f588411a447303354df9c05d1dd23473.tar.gz
Remove unneeded memmove.c and strerror.c files
* libguile/memmove.c: * libguile/strerror.c: Remove; these must be present for C99. * libguile/Makefile.am (EXTRA_libguile_@GUILE_EFFECTIVE_VERSION@_la_SOURCES): Remove files.
Diffstat (limited to 'libguile/strerror.c')
-rw-r--r--libguile/strerror.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/libguile/strerror.c b/libguile/strerror.c
deleted file mode 100644
index c4c19c2fb..000000000
--- a/libguile/strerror.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/* Turning errno values into English error messages.
- Copyright (C) 1985-1988,1993,1994,1995,2000-2001,2006,2018
- Free Software Foundation, Inc.
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public License
- as published by the Free Software Foundation; either version 3 of
- the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- 02110-1301 USA
-*/
-
-char *
-strerror (int errnum)
-{
- extern char *sys_errlist[];
- extern int sys_nerr;
-
- if (errnum >= 0 && errnum < sys_nerr)
- return sys_errlist[errnum];
- return (char *) "Unknown error";
-}