diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2008-06-25 15:15:17 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2008-06-25 15:15:17 +0000 |
commit | dbdf2ff0f45502a7f6d4c689a7a88028e98ae698 (patch) | |
tree | 5cd00322fc6265151eb79c2e25a01b4fe32d1970 | |
parent | 423a47b78fdca2c21f353e922f3663c2d25c95cd (diff) |
no need for sparc/sparc64 ifdefs, since this file is sparc only
-rw-r--r-- | usr.sbin/eeprom/eehandlers.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/usr.sbin/eeprom/eehandlers.c b/usr.sbin/eeprom/eehandlers.c index 0a2c6c25214..9f2548bb99b 100644 --- a/usr.sbin/eeprom/eehandlers.c +++ b/usr.sbin/eeprom/eehandlers.c @@ -1,4 +1,4 @@ -/* $OpenBSD: eehandlers.c,v 1.13 2007/01/03 20:02:10 moritz Exp $ */ +/* $OpenBSD: eehandlers.c,v 1.14 2008/06/25 15:15:16 deraadt Exp $ */ /* $NetBSD: eehandlers.c,v 1.2 1996/02/28 01:13:22 thorpej Exp $ */ /*- @@ -50,9 +50,7 @@ #include <unistd.h> #include <machine/eeprom.h> -#ifdef __sparc__ #include <machine/openpromio.h> -#endif /* __sparc__ */ #include "defs.h" @@ -171,7 +169,6 @@ ee_num16(struct keytabent *ktent, char *arg) printf("%s=%d\n", ktent->kt_keyword, num16); } -#ifndef __sparc64__ static struct strvaltabent scrsizetab[] = { { "640x480", EED_SCR_640X480 }, { "1152x900", EED_SCR_1152X900 }, @@ -213,7 +210,6 @@ ee_screensize(struct keytabent *ktent, char *arg) } printf("%s=%s\n", ktent->kt_keyword, svp->sv_str); } -#endif static struct strvaltabent truthtab[] = { { "true", EE_TRUE }, @@ -347,7 +343,6 @@ ee_kbdtype(struct keytabent *ktent, char *arg) printf("%s=%d (%s)\n", ktent->kt_keyword, kbd, kbd ? "other" : "Sun"); } -#ifndef __sparc64__ static struct strvaltabent constab[] = { { "b&w", EED_CONS_BW }, { "ttya", EED_CONS_TTYA }, @@ -389,7 +384,6 @@ ee_constype(struct keytabent *ktent, char *arg) printf("%s=%s\n", ktent->kt_keyword, svp->sv_str); } -#endif void ee_diagpath(struct keytabent *ktent, char *arg) |