summaryrefslogtreecommitdiff
path: root/lib/libc/gen/errlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/errlist.c')
-rw-r--r--lib/libc/gen/errlist.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/libc/gen/errlist.c b/lib/libc/gen/errlist.c
index 69607e70900..a1963162c26 100644
--- a/lib/libc/gen/errlist.c
+++ b/lib/libc/gen/errlist.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: errlist.c,v 1.14 2009/11/24 09:22:22 guenther Exp $ */
+/* $OpenBSD: errlist.c,v 1.15 2014/03/16 18:38:30 guenther Exp $ */
/*
* Copyright (c) 1982, 1985, 1993
* The Regents of the University of California. All rights reserved.
@@ -28,12 +28,7 @@
* SUCH DAMAGE.
*/
-#ifdef lint
-char *
-#else
-const char *const
-#endif
- _sys_errlist[] = {
+const char *const _sys_errlist[] = {
"Undefined error: 0", /* 0 - ENOERROR */
"Operation not permitted", /* 1 - EPERM */
"No such file or directory", /* 2 - ENOENT */