/* $Header$
*
* Routines to encrypt ID's
+ *
+ * (c) Copyright 1988 by the Massachusetts Institute of Technology.
+ * For copying and distribution information, please see the file
+ * <mit-copyright.h>.
*/
-#include <strings.h>
+#include <mit-copyright.h>
+#include <string.h>
#include <ctype.h>
{
char *hyphen;
- while ((hyphen = index(str, '-')) != (char *)0)
+ while ((hyphen = strchr(str, '-')) != (char *)0)
(void) strcpy(hyphen, hyphen + 1);
}