A bunch of LibC boilerplate stuff added while trying to get figlet to build.

This commit is contained in:
Andreas Kling 2018-10-31 02:09:11 +01:00
commit bb90c8ecab
Notes: sideshowbarker 2024-07-19 18:35:59 +09:00
23 changed files with 117 additions and 45 deletions

View file

@ -1,8 +1,9 @@
#pragma once
#include "types.h"
#include <sys/cdefs.h>
#include <sys/types.h>
extern "C" {
__BEGIN_DECLS
void* malloc(size_t);
void free(void*);
@ -12,5 +13,5 @@ void* realloc(void *ptr, size_t);
void exit(int status);
void abort();
}
__END_DECLS