]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Lint cleanup.
authorHarlan Stenn <stenn@ntp.org>
Tue, 22 Jan 2002 23:16:09 +0000 (18:16 -0500)
committerHarlan Stenn <stenn@ntp.org>
Tue, 22 Jan 2002 23:16:09 +0000 (18:16 -0500)
From Marc.Brett@westerngeco.com

bk: 3c4df2b9FwyDeSHH_vlOH82excwNpQ

ntpd/ntp_intres.c
util/ntp-genkeys.c

index 16560945e3f4ebcd772bdeeefecd5dc6663c5027..b6cd45b9501f4cae1a8bab08e4596d84453190d8 100644 (file)
@@ -516,7 +516,7 @@ findhostaddr(
                        msyslog(LOG_INFO, "findhostaddr: address resolved.");
 #endif
                s = strlen(hp->h_name) + 1;
-               cp = emalloc(s);
+               cp = (char *)emalloc(s);
                strcpy(cp, hp->h_name);
                entry->ce_name = cp;
        }
index add86f03ddd666c9d8117fd556e8be800b16842e..5b70f723654af68b80ff894d866a2c33f8b66bec 100644 (file)
@@ -171,7 +171,6 @@ char *f3_dhparms;
 u_long sys_automax;            /* maximum session key lifetime */
 int    sys_bclient;            /* we set our time to broadcasts */
 int    sys_manycastserver;     /* 1 => respond to manycast client pkts */
-u_long client_limit_period;
 char * req_file;               /* name of the file with configuration info */
 keyid_t        ctl_auth_keyid;         /* keyid used for authenticating write requests */
 struct interface *any_interface;       /* default interface */