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

Comparing ray/src/hd/sm_list.c (file contents):
Revision 3.1 by gwlarson, Wed Aug 19 17:45:24 1998 UTC vs.
Revision 3.3 by gwlarson, Wed Sep 16 18:16:28 1998 UTC

# Line 24 | Line 24 | LIST
24   {
25      LIST *l;
26  
27
28
27      /* check free list for available edges */
28      if( free_lists )
29      {
# Line 52 | Line 50 | LIST *a,*b;
50   {
51      LIST * l;
52  
55    if(!a)
56      return(b);
57
53      if(!b)
54         return(a);
55      
# Line 118 | Line 113 | LIST * l;
113   {
114      if(!l)
115         return(NULL);
116 +
117      free_lists = append_list(free_lists,l);
118  
119      return(NULL);
# Line 131 | Line 127 | pop_list(l)
127   LIST **l;
128   {
129      LIST *p;
130 <    void *d;
130 >    int d;
131      
132      if(!l)
133         return(NULL);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines