Skip to content

Commit

Permalink
Back out the totally unapproved backout of my commits.
Browse files Browse the repository at this point in the history
  • Loading branch information
David E. O'Brien authored and David E. O'Brien committed Mar 29, 2003
1 parent 5fe45f1 commit 2d57da0
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 60 deletions.
1 change: 0 additions & 1 deletion usr.bin/elf2aout/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ PROG= elf2aout
NOMAN=
NO_WERROR?=
WARNS?= 5
CFLAGS+= -I${.CURDIR}/../../usr.sbin/crunch/crunchide

.include <bsd.prog.mk>
2 changes: 1 addition & 1 deletion usr.bin/elf2aout/elf2aout.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ __FBSDID("$FreeBSD$");

#include <sys/types.h>
#include <sys/elf64.h>
#include <sys/endian.h>
#include <sys/mman.h>
#include <sys/stat.h>

Expand All @@ -37,7 +38,6 @@ __FBSDID("$FreeBSD$");
#include <string.h>
#include <unistd.h>

#include "endian.h"
#define xe16toh(x) ((data == ELFDATA2MSB) ? be16toh(x) : le16toh(x))
#define xe32toh(x) ((data == ELFDATA2MSB) ? be32toh(x) : le32toh(x))
#define xe64toh(x) ((data == ELFDATA2MSB) ? be64toh(x) : le64toh(x))
Expand Down
57 changes: 0 additions & 57 deletions usr.sbin/crunch/crunchide/endian.h

This file was deleted.

2 changes: 1 addition & 1 deletion usr.sbin/crunch/crunchide/exec_elf32.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ __FBSDID("$FreeBSD$");
#endif

#include <sys/types.h>
#include <sys/endian.h>
#include <sys/stat.h>

#include <errno.h>
Expand All @@ -49,7 +50,6 @@ __FBSDID("$FreeBSD$");
#include <string.h>
#include <unistd.h>

#include "endian.h"
#include "extern.h"

#if (defined(NLIST_ELF32) && (ELFSIZE == 32)) || \
Expand Down

0 comments on commit 2d57da0

Please sign in to comment.