mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-14 15:36:34 +00:00
Remove redundant #ifndef NOETHER checks (#186)
When the NOETHER checks were simplified, there remained some redundant #ifndef NOETHER within the #else of an #ifdef NOETHER.
This commit is contained in:
parent
a093d80fa5
commit
69be706a69
@ -38,7 +38,6 @@ char *devices[] = {"le0", "le1", "le2", "le3", "le4", "ie0", "ie1", "i
|
||||
#endif
|
||||
#endif /* USE_DLPI */
|
||||
|
||||
#ifndef NOETHER
|
||||
#include <ctype.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/time.h>
|
||||
@ -66,8 +65,6 @@ char *devices[] = {"le0", "le1", "le2", "le3", "le4", "ie0", "ie1", "i
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#endif /* NOETHER */
|
||||
|
||||
int ether_fd = -1; /* file descriptor for ether socket */
|
||||
int ether_intf_type = 0; /* IF type? from DLPI */
|
||||
unsigned char ether_host[6] = {0, 0, 0, 0, 0, 0}; /* 48 bit address */
|
||||
@ -81,8 +78,6 @@ int main(int argc, char *argv[]) {
|
||||
struct strioctl si;
|
||||
#endif /* USE_DLPI */
|
||||
|
||||
#ifndef NOETHER
|
||||
|
||||
/* Only do the ether kick=-start if we've got to. */
|
||||
|
||||
/* Kickstart program for the Lisp Development Environment (LDE).
|
||||
@ -223,8 +218,6 @@ int main(int argc, char *argv[]) {
|
||||
seteuid(getuid());
|
||||
}
|
||||
|
||||
#endif /* NOETHER */
|
||||
|
||||
/* OK, right here do other stuff like scan args */
|
||||
/* finally crank up LDE; first copy the original args */
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user