1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:37:36 +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,5 +1,6 @@
#pragma once
#include <sys/cdefs.h>
#include <Kernel/errno.h>
#define __RETURN_WITH_ERRNO(rc, good_ret, bad_ret) \
@ -13,9 +14,9 @@
} \
} while(0)
extern "C" {
__BEGIN_DECLS
extern int errno;
};
__END_DECLS