mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Remove dependency of reallocarray()
By removing this dependency, all of the code of this repository is licensed under the MIT license. Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>
This commit is contained in:
23
include/extern/reallocarray.h
vendored
23
include/extern/reallocarray.h
vendored
@@ -1,23 +0,0 @@
|
||||
/*
|
||||
* This file is part of RGBDS.
|
||||
*
|
||||
* Copyright (c) 2015-2018, RGBDS contributors.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#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 */
|
||||
Reference in New Issue
Block a user