summaryrefslogtreecommitdiff
path: root/usr.bin/elf2aout
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2004-03-16 01:11:10 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2004-03-16 01:11:10 +0000
commit923dcd6706e06e5d73c82258a99ae176f75a6804 (patch)
tree86d50af5a120a945a4631b83c9834f38fb448d92 /usr.bin/elf2aout
parent5158e01d42b380c30ab5e2d29d8b053c2e336cb2 (diff)
errno is not specified to be int, but something from errno.h. ok millert@
Diffstat (limited to 'usr.bin/elf2aout')
-rw-r--r--usr.bin/elf2aout/elf2aout.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/elf2aout/elf2aout.c b/usr.bin/elf2aout/elf2aout.c
index 9336c3224aa..dd714bfe98b 100644
--- a/usr.bin/elf2aout/elf2aout.c
+++ b/usr.bin/elf2aout/elf2aout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: elf2aout.c,v 1.4 2003/11/27 10:31:52 henning Exp $ */
+/* $OpenBSD: elf2aout.c,v 1.5 2004/03/16 01:11:09 tedu Exp $ */
/*
* Copyright (c) 1995
@@ -35,7 +35,7 @@
#include <machine/elf_abi.h>
#include <stdio.h>
#include <a.out.h>
-#include <sys/errno.h>
+#include <errno.h>
#include <string.h>
#include <limits.h>
@@ -51,7 +51,6 @@ int phcmp();
char *saveRead(int file, off_t offset, off_t len, char *name);
int copy(int, int, off_t, off_t);
int translate_syms(int, int, off_t, off_t, off_t, off_t);
-extern int errno;
int *symTypeTable;
/* Symbol table entry... */