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

Comparing ray/src/common/savqstr.c (file contents):
Revision 2.11 by greg, Tue Feb 1 18:43:26 2022 UTC vs.
Revision 2.12 by greg, Tue Oct 29 00:35:06 2024 UTC

# Line 18 | Line 18 | static const char RCSid[] = "$Id$";
18   #if 1
19  
20   char *
21 < savqstr(char *s)                        /* save a private string */
21 > savqstr(const char *s)                  /* save a private string */
22   {
23          char  *cp;
24          char  *newp;
# Line 74 | Line 74 | freeqstr(char *s)                      /* free a private string */
74  
75  
76   char *
77 < savqstr(char *s)                        /* save a private string */
77 > savqstr(const char *s)                  /* save a private string */
78   {
79          static char  *curp = NULL;              /* allocated memory pointer */
80          static unsigned  nrem = 0;              /* bytes remaining in block */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines