2 static char rcsid[] = "$Id: glosym.c,v 2.3 1994/06/24 13:23:45 ceriel Exp $";
11 * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
12 * See the copyright notice in the ACK home directory, in the file "Copyright".
14 * Author: Hans van Staveren
17 extern string myalloc();
19 glosym_p glolist= (glosym_p) 0;
21 enterglo(name,romp) string name; word *romp; {
25 gp = (glosym_p) myalloc(sizeof *gp);
26 gp->gl_next = glolist;
27 gp->gl_name = (string) myalloc(strlen(name)+1);
28 strcpy(gp->gl_name,name);
29 for (i=0;i<=MAXROM;i++)
30 gp->gl_rom[i] = romp[i];
34 glosym_p lookglo(name) string name; {
37 for (gp=glolist;gp != (glosym_p) 0; gp=gp->gl_next)
38 if (strcmp(gp->gl_name,name)==0)