1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 08:28:11 +00:00

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
parent 511ed4c4de
commit bb90c8ecab
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
size_t strlen(const char*);
int strcmp(const char*, const char*);
@ -10,5 +11,5 @@ int memcmp(const void*, const void*, size_t);
void memcpy(void*, const void*, size_t);
const char* strerror(int errnum);
}
__END_DECLS