| # | Line 1 | Line 1 | |
|---|---|---|
| 1 | < | /* |
| 1 | > | /* Copyright 1988 Regents of the University of California */ |
| 2 | ||
| 3 | #ifndef lint | |
| 4 | static char SCCSid[] = "$SunId$ LBL"; | |
| 5 | #endif | |
| 6 | + | |
| 7 | + | /* |
| 8 | * savestr.c - routines for efficient string storage. | |
| 9 | * | |
| 10 | * Savestr(s) stores a shared read-only string. | |
| # | Line 30 | Line 32 | typedef struct s_head { | |
| 32 | } S_HEAD; /* followed by the string itself */ | |
| 33 | ||
| 34 | static S_HEAD *stab[NHASH]; | |
| 35 | + | |
| 36 | + | static int shash(); |
| 37 | ||
| 38 | extern char *savestr(), *strcpy(), *malloc(); | |
| 39 | ||
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |