mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Follow Linux kernel coding style. Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>
16 lines
300 B
C
16 lines
300 B
C
#ifndef EXTERN_REALLOCARRAY_H
|
|
#define EXTERN_REALLOCARRAY_H
|
|
|
|
#ifdef REALLOCARRAY_IN_LIBC
|
|
|
|
#include <stdlib.h>
|
|
|
|
#else /* REALLOCARRAY_IN_LIBC */
|
|
|
|
#define reallocarray rgbds_reallocarray
|
|
void *reallocarray(void *, size_t, size_t);
|
|
|
|
#endif /* REALLOCARRAY_IN_LIBC */
|
|
|
|
#endif /* EXTERN_REALLOCARRAY_H */
|