summaryrefslogtreecommitdiff
path: root/zhm
diff options
context:
space:
mode:
authorGravatar Karl Ramm <kcr@1ts.org>2010-12-04 03:20:09 +0000
committerGravatar Karl Ramm <kcr@1ts.org>2010-12-04 03:20:09 +0000
commite86256ca088e65c08a6af4861bd1bcae27b545b4 (patch)
tree0bd2fd59d66806d48ecc8a8ed4f17bdd3f2d456d /zhm
parent62f7d61f20d77bb6e265c003fdeb11413ba712b9 (diff)
(Dumb preprocessor tricks)--
Diffstat (limited to 'zhm')
-rw-r--r--zhm/zhm.c2
-rw-r--r--zhm/zhm.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/zhm/zhm.c b/zhm/zhm.c
index ce9f74a..cfce24c 100644
--- a/zhm/zhm.c
+++ b/zhm/zhm.c
@@ -169,7 +169,7 @@ main(int argc,
DPR2("zephyr client port: %u\n", ntohs(cli_port));
/* Main loop */
- for ever {
+ for (;;) {
/* Wait for incoming packets or queue timeouts. */
DPR("Waiting for a packet...");
fd = ZGetFD();
diff --git a/zhm/zhm.h b/zhm/zhm.h
index ad1ab5b..c6f922e 100644
--- a/zhm/zhm.h
+++ b/zhm/zhm.h
@@ -43,8 +43,6 @@
#define Zperr(e)
#endif
-#define ever (;;)
-
#define BOOTING 1
#define NOTICES 2