/* $Header$ */
#include <stdio.h>
-#include <strings.h>
+#include <string.h>
#include <X11/StringDefs.h>
#include <X11/IntrinsicP.h>
#include <X11/Shell.h>
if (current->type == FT_KEYWORD) {
char *p;
- p = index(current->prompt, '|');
+ p = strchr(current->prompt, '|');
if (p) {
*p++ = 0;
current->keyword_name = p;