#include <ctype.h>
#include <krb.h>
#include <krb_et.h>
-#include <strings.h>
+#include <string.h>
/* Authenticate this client with the MR server. prog is the name of the
* client program, and will be recorded in the database.
/* Build a Kerberos authenticator. */
- bzero(host, sizeof(host));
+ memset(host, 0, sizeof(host));
if (status = mr_host(host, sizeof(host) - 1))
return status;
- strcpy(realm, krb_realmofhost(host));
+ strcpy(realm, (char *)krb_realmofhost(host));
for (p = host; *p && *p != '.'; p++)
if (isupper(*p))
*p = tolower(*p);