ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/savestr.c
(Generate patch)

Comparing ray/src/common/savestr.c (file contents):
Revision 2.13 by greg, Fri May 7 03:09:45 2021 UTC vs.
Revision 2.14 by greg, Thu Jun 8 17:48:01 2023 UTC

# Line 46 | Line 46 | static S_HEAD  *stab[NHASH];
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;
# Line 97 | Line 97 | freestr(char *s)                               /* free a string */
97  
98  
99   int
100 < shash(char *s)
100 > shash(const char *s)
101   {
102          int  h = 0;
103  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines