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

Comparing ray/src/common/bmalloc.c (file contents):
Revision 2.7 by schorsch, Sun Mar 28 20:33:12 2004 UTC vs.
Revision 2.9 by schorsch, Sat Oct 23 18:55:52 2004 UTC

# Line 26 | Line 26 | static const char      RCSid[] = "$Id$";
26   #endif
27   #define  BYTES_WORD     sizeof(ALIGNT)
28  
29 < static void  *bposition = NULL;
29 > static char  *bposition = NULL;
30   static size_t  nremain = 0;
31  
32  
# Line 52 | Line 52 | register size_t  n
52  
53   void
54   bfree(                  /* free random memory */
55 < register void   *p,
55 > register void   *pp,
56   register size_t n
57   )
58   {
59 +        register char *p = pp;
60          register size_t bsiz;
61                                          /* check alignment */
62          bsiz = BYTES_WORD - ((size_t)p&(BYTES_WORD-1));

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines