diff options
| author | spicyjpeg <88942473+spicyjpeg@users.noreply.github.com> | 2021-11-18 17:23:25 +0100 |
|---|---|---|
| committer | spicyjpeg <88942473+spicyjpeg@users.noreply.github.com> | 2021-11-18 17:23:25 +0100 |
| commit | 619fa016bbc4ddd8d4a670cf3f8aa63617473b2f (patch) | |
| tree | 3b526a071b715452beadf168e3c6fc898b5fe48c /libpsn00b/include/malloc.h | |
| parent | 8b6a76055ca426c494e16042e21f5e19b870b2ac (diff) | |
| download | psn00bsdk-619fa016bbc4ddd8d4a670cf3f8aa63617473b2f.tar.gz | |
Deprecated malloc.h, moved int*_t types to stdint.h
Diffstat (limited to 'libpsn00b/include/malloc.h')
| -rw-r--r-- | libpsn00b/include/malloc.h | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/libpsn00b/include/malloc.h b/libpsn00b/include/malloc.h index d94823f..75c3711 100644 --- a/libpsn00b/include/malloc.h +++ b/libpsn00b/include/malloc.h @@ -1,18 +1,8 @@ #ifndef _MALLOC_H #define _MALLOC_H -#ifdef __cplusplus -extern "C" { -#endif +#warning "<malloc.h> is deprecated, include <stdlib.h> instead" -unsigned int *GetBSSend(); -void InitHeap(unsigned int *addr, int size); -int SetHeapSize(int size); -void *malloc(int size); -void free(void *ptr); - -#ifdef __cplusplus -} -#endif +#include <stdlib.h> #endif // _MALLOC_H
\ No newline at end of file |
