2 * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
3 * See the copyright notice in the ACK home directory, in the file "Copyright".
6 static char rcsid[]= "$Id: strlookup.c,v 0.3 1994/06/24 10:38:20 ceriel Exp $";
12 char *l_strings[MAXSTRINGS];
14 strlookup(str) char *str; {
16 extern char *mystrcpy();
18 for(i=0;i<nstrings;i++)
19 if (strcmp(str,l_strings[i])==0)
21 NEXT(nstrings,MAXSTRINGS,"String table");
22 l_strings[i] = mystrcpy(str);