diff options
author | David C. Jedlinsky <opus@mit.edu> | 1987-06-30 23:24:42 +0000 |
---|---|---|
committer | David C. Jedlinsky <opus@mit.edu> | 1987-06-30 23:24:42 +0000 |
commit | 86cbbc339a0cb723c1a7dcd77808b8dacc810457 (patch) | |
tree | 7b67918b608e231de1a23179b13989d0108b2180 /zhm | |
parent | 32b6354c29409f7d12fe86d89e57bb50b70ec10e (diff) |
Added syslog.h include.
Diffstat (limited to 'zhm')
-rw-r--r-- | zhm/zhm.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -16,23 +16,27 @@ #include <zephyr/mit-copyright.h> #include <zephyr/zephyr.h> +#include <syslog.h> #ifdef DEBUG #define DPR(a) fprintf(stderr, a); fflush(stderr) #define DPR2(a,b) fprintf(stderr, a, b); fflush(stderr) +#define Zperr(e) fprintf(stderr, "Error = %d\n", e) #else #define DPR(a) #define DPR2(a,b) +#define Zperr(e) #endif #define ever (;;) -#define Zperr(e) fprintf(stderr, "Error = %d\n", e) #define SERV_TIMEOUT 20 -#define NOTICE_TIMEOUT 5 +#define NOTICE_TIMEOUT 10 #define BOOTING 1 #define NOTICES 2 +#define MAXRETRIES 5 + extern char *malloc(); #endif !__HM_H__ |