summaryrefslogtreecommitdiff
path: root/misc/strerror.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1998-10-08 10:40:27 +0000
committerjbj <devnull@localhost>1998-10-08 10:40:27 +0000
commit1516f1d56c6fc74fa77596e78237ab7400cae4e2 (patch)
treed50493daa35a055572afd7d2856ed62ae6069463 /misc/strerror.c
parent44184bacebad7f7e3d8afc6e31015683ff78e5f5 (diff)
downloadrpm-1516f1d56c6fc74fa77596e78237ab7400cae4e2.tar.gz
rpm-1516f1d56c6fc74fa77596e78237ab7400cae4e2.tar.bz2
rpm-1516f1d56c6fc74fa77596e78237ab7400cae4e2.zip
configure using automake.
CVS patchset: 2418 CVS date: 1998/10/08 10:40:27
Diffstat (limited to 'misc/strerror.c')
-rw-r--r--misc/strerror.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/misc/strerror.c b/misc/strerror.c
index acb81618c..39289231d 100644
--- a/misc/strerror.c
+++ b/misc/strerror.c
@@ -1,12 +1,11 @@
-#include<stdlib.h>
-#include<errno.h>
-#include<stdio.h>
+#include "system.h"
extern int sys_nerr;
extern char *sys_errlist[];
static char buf[64];
-char * strerror(int errnum)
+char *
+strerror(int errnum)
{
if (errnum < 0 || errnum > sys_nerr)
{