diff options
author | John Kohl <jtkohl@mit.edu> | 1988-10-03 11:56:24 +0000 |
---|---|---|
committer | John Kohl <jtkohl@mit.edu> | 1988-10-03 11:56:24 +0000 |
commit | dff66bdc335b980fc7bb66fc951e122bc9512dbf (patch) | |
tree | 45fbf5466e6a68135804d9ceaf0e2852c215d902 /zhm | |
parent | 09c7f069b6ad5de8be8790f6a7446dc6b2478ee1 (diff) |
merge Ultrix fixes into main branch
Diffstat (limited to 'zhm')
-rw-r--r-- | zhm/zhm.c | 19 |
1 files changed, 1 insertions, 18 deletions
@@ -51,11 +51,6 @@ extern long time(); void init_hm(), detach(), handle_timeout(), resend_notices(), die_gracefully(); int set_sig_type(); -#if BSD < 43 -char *upcase(); -#define strncasecmp(x, y, len) strcmp(x, upcase((y)), len) -#endif /* BSD */ - main(argc, argv) char *argv[]; { @@ -248,7 +243,7 @@ void init_hm() FILE *fp; starttime = time((time_t *)0); - openlog("hm", LOG_PID, LOG_DAEMON); + OPENLOG("hm", LOG_PID, LOG_DAEMON); if ((ret = ZInitialize()) != ZERR_NONE) { Zperr(ret); @@ -364,18 +359,6 @@ void init_hm() (void)signal (SIGTERM, set_sig_type); } -#if BSD < 43 -char *upcase(s) - register char *s; -{ - char *r = s; - - for (; *s; s++) - if (islower(*s)) *s = toupper(*s); - return(r); -} -#endif /* BSD */ - void detach() { /* detach from terminal and fork. */ |