15 |
|
* frees memory associated with the string; it should |
16 |
|
* never be referenced again. |
17 |
|
* |
18 |
< |
* External symbols declared in standard.h |
18 |
> |
* External symbols declared in rtio.h |
19 |
|
*/ |
20 |
|
|
21 |
|
#include "copyright.h" |
22 |
|
|
23 |
|
#include <stdlib.h> |
24 |
|
|
25 |
– |
#include "rtmisc.h" |
25 |
|
#include "rterror.h" |
26 |
|
#include "rtio.h" |
27 |
|
|
46 |
|
|
47 |
|
|
48 |
|
char * |
49 |
< |
savestr(char *str) /* save a string */ |
49 |
> |
savestr(const char *str) /* save a string */ |
50 |
|
{ |
51 |
|
int hval; |
52 |
|
S_HEAD *sp; |
97 |
|
|
98 |
|
|
99 |
|
int |
100 |
< |
shash(char *s) |
100 |
> |
shash(const char *s) |
101 |
|
{ |
102 |
|
int h = 0; |
103 |
|
|