summaryrefslogtreecommitdiff
path: root/zhm/zhm.c
diff options
context:
space:
mode:
authorGravatar John Kohl <jtkohl@mit.edu>1988-10-03 11:56:24 +0000
committerGravatar John Kohl <jtkohl@mit.edu>1988-10-03 11:56:24 +0000
commitdff66bdc335b980fc7bb66fc951e122bc9512dbf (patch)
tree45fbf5466e6a68135804d9ceaf0e2852c215d902 /zhm/zhm.c
parent09c7f069b6ad5de8be8790f6a7446dc6b2478ee1 (diff)
merge Ultrix fixes into main branch
Diffstat (limited to 'zhm/zhm.c')
-rw-r--r--zhm/zhm.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/zhm/zhm.c b/zhm/zhm.c
index ca47f1d..17b6032 100644
--- a/zhm/zhm.c
+++ b/zhm/zhm.c
@@ -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. */