]> granicus.if.org Git - python/commitdiff
Just whitespace fiddling.
authorTim Peters <tim.peters@gmail.com>
Sat, 23 Mar 2002 00:28:57 +0000 (00:28 +0000)
committerTim Peters <tim.peters@gmail.com>
Sat, 23 Mar 2002 00:28:57 +0000 (00:28 +0000)
Objects/obmalloc.c

index a3f4cf87adf6eeba98f25b00141fe4b7b0588c24..4e141c75c81d0cd12d3e21287574872a4db0ba16 100644 (file)
@@ -61,7 +61,7 @@
  *
  * For small requests, the allocator sub-allocates <Big> blocks of memory.
  * Requests greater than 256 bytes are routed to the system's allocator.
- *    
+ *
  * Small requests are grouped in size classes spaced 8 bytes apart, due
  * to the required valid alignment of the returned address. Requests of
  * a particular size are serviced from memory pools of 4K (one VMM page).
@@ -94,7 +94,7 @@
  *       ...                   ...                     ...
  *     241-248                 248                      30
  *     249-256                 256                      31
- *     
+ *
  *     0, 257 and up: routed to the underlying allocator.
  */
 
@@ -472,7 +472,7 @@ _PyMalloc_Malloc(size_t nbytes)
                        UNLOCK();
                        goto redirect;
                }
-               /* 
+               /*
                 * Keep a reference in the list of allocated arenas. We might
                 * want to release (some of) them in the future. The first
                 * word is never used, no matter whether the returned address
@@ -491,7 +491,7 @@ _PyMalloc_Malloc(size_t nbytes)
         /* The small block allocator ends here. */
 
        redirect:
-       
+
        /*
         * Redirect the original request to the underlying (libc) allocator.
         * We jump here on bigger requests, on error in the code above (as a
@@ -641,14 +641,14 @@ _PyMalloc_Calloc(size_t nbel, size_t elsz)
 */
 
 #else  /* ! WITH_PYMALLOC */
-void
-*_PyMalloc_Malloc(size_t n)
+void *
+_PyMalloc_Malloc(size_t n)
 {
        return PyMem_MALLOC(n);
 }
 
-void
-*_PyMalloc_Realloc(void *p, size_t n)
+void *
+_PyMalloc_Realloc(void *p, size_t n)
 {
        return PyMem_REALLOC(p, n);
 }
@@ -660,8 +660,8 @@ _PyMalloc_Free(void *p)
 }
 #endif /* WITH_PYMALLOC */
 
-PyObject
-*_PyMalloc_New(PyTypeObject *tp)
+PyObject *
+_PyMalloc_New(PyTypeObject *tp)
 {
        PyObject *op;
        op = (PyObject *) _PyMalloc_MALLOC(_PyObject_SIZE(tp));