summaryrefslogtreecommitdiffstats
path: root/tools/build/unhex.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-03-03 16:20:52 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-03-03 16:20:52 +0000
commit607e0a252789e62ad5163c2a9526a764c9428ec6 (patch)
treec571dc175c489416f601196f097864f8fff2fe5d /tools/build/unhex.c
parentRemoved use of dc. David Fiddes reported that this is part of the (diff)
downloadrtems-607e0a252789e62ad5163c2a9526a764c9428ec6.tar.bz2
Switched from "extern int errno" to "#include <errno.h>".
Diffstat (limited to '')
-rw-r--r--tools/build/unhex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/build/unhex.c b/tools/build/unhex.c
index d9a4beb861..6a75a13ae7 100644
--- a/tools/build/unhex.c
+++ b/tools/build/unhex.c
@@ -37,6 +37,7 @@ usage: unhex [-va] [ -o file ] [ file [file ... ] ]\n\
#include <unistd.h>
#include <stdlib.h>
#include <stdarg.h>
+#include <errno.h>
#include "config.h"
@@ -96,7 +97,6 @@ u32 FFfill = 0L; /* how far to fill w 0xFF's */
extern char *optarg; /* getopt(3) control vars */
extern int optind;
-extern int errno;
char *progname; /* for error() */