#include <mit-copyright.h>
#include <moira.h>
#include <stdio.h>
-#include <strings.h>
+#include <string.h>
#include <ctype.h>
extern char *strsave();
do {
/* Copy next component of type to temp */
- char *t = index (cp, ',');
+ char *t = strchr (cp, ',');
if (t) {
- bcopy(cp, temp, t-cp);
+ memcpy(temp, cp, t-cp);
temp[t-cp]='\0';
cp = t + 1; /* one after the comma */
} else {