home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
lclint.zip
/
lclint-2_3h-os2-bin.zip
/
test
/
tests2.2a
/
addassign.c
next >
Wrap
Text File
|
1997-09-03
|
138b
|
12 lines
int hash (char *name)
{
int h = 0;
while (*name != '\0')
{
h += *name++; /* error in 2.1b */
}
return h % 137;
}