Tue Apr 29 15:20:12 CEST 2008 Jim Meyering <meyering@redhat.com>
+ Avoid "make syntax-check" failures.
+ * src/memory.c: Include "config.h".
+ Remove trailing blanks.
+
Avoid in-function #if directives.
* src/parthelper.c [!PED_PARTITION_PROTECTED]: Define to 0.
Remove in-function #ifdefs.
*
*/
+#include <config.h>
#include <stdlib.h>
#include "memory.h"
* @size: number of bytes to allocate
* @count: number of elements to allocate
*
- * Allocate an array of memory 'count' elements long,
+ * Allocate an array of memory 'count' elements long,
* each with 'size' bytes. Return the address of the
* allocated memory in 'ptrptr'. The newly allocated
* memory is filled with zeros.
* Resize the block of memory in 'ptrptr' to be an array of
* 'count' elements, each 'size' bytes in length. Update 'ptrptr'
* with the address of the newly allocated memory. On failure,
- * 'ptrptr' is not changed and still points to the original memory
+ * 'ptrptr' is not changed and still points to the original memory
* block. The newly allocated memory is filled with zeros.
*
* Returns -1 on failure to allocate, zero on success