#include <mit-copyright.h>
#include "mr_server.h"
-
+#include <com_err.h>
#include <ctype.h>
#include <sys/types.h>
+#include <string.h>
extern char *whoami;
if (isprint(c)) *buf++ = c;
else {
sprintf(buf, "\\%03o", c);
- buf = index(buf, '\0');
+ buf = strchr(buf, '\0');
}
}
if (len > 1) { *buf++ = '"'; count++; len--; }
return buf;
}
-log_args(tag, version, argc, argv)
+void log_args(tag, version, argc, argv)
char *tag;
int version;
int argc;
char *fmt;
caddr_t pvar;
{
- extern char *error_message();
extern client *cur_client;
if (whoami) {