0fae873352
Cleaned up some header style violations, making sure there are two blank lines after the header guards. This fixes the posix header part of #2191. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39288 a95241bf-73f2-0310-859d-f6bbb57e9c96
28 lines
544 B
C
28 lines
544 B
C
/*
|
|
* Copyright 2002-2010 Haiku Inc. All Rights Reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _MALLOC_H
|
|
#define _MALLOC_H
|
|
|
|
|
|
#include <unistd.h>
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
extern void *malloc(size_t numBytes);
|
|
extern void *realloc(void *oldPointer, size_t newSize);
|
|
extern void *calloc(size_t numElements, size_t size);
|
|
extern void free(void *pointer);
|
|
extern void *memalign(size_t alignment, size_t numBytes);
|
|
extern void *valloc(size_t numBytes);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _MALLOC_H */
|