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.6 by greg, Thu May 15 05:13:35 2003 UTC vs.
Revision 2.9 by schorsch, Wed Jul 30 10:11:06 2003 UTC

# Line 11 | Line 11 | static const char RCSid[] = "$Id$";
11  
12   #include <stdlib.h>
13  
14 < extern void     eputs();
15 < extern void     quit();
14 > #include "rtio.h"
15 > #include "rterror.h"
16  
17 +
18   #if 1
19  
20   char *
# Line 30 | Line 31 | register char  *s;
31                  eputs("out of memory in savqstr");
32                  quit(1);
33          }
34 <        for (cp = newp; *cp++ = *s++; )         /* inline strcpy() */
34 >        for (cp = newp; (*cp++ = *s++); )               /* inline strcpy() */
35                  ;
36          return(newp);                           /* return new location */
37   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines