Add header <kernaux/stdlib.h>

This commit is contained in:
Alex Kotov 2020-11-30 05:00:47 +05:00
parent 8b91aa227c
commit edbd31e02d
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
4 changed files with 17 additions and 2 deletions

View File

@ -19,7 +19,8 @@ libkernaux_a_SOURCES = \
src/multiboot2/helpers.c \
src/multiboot2/is_valid.c \
src/multiboot2/print.c \
src/pfa.c
src/pfa.c \
src/stdlib.c
tests_multiboot2_print1_SOURCES = \
$(libkernaux_a_SOURCES) \

View File

@ -1,4 +1,5 @@
nobase_include_HEADERS = \
kernaux/arch/i386.h \
kernaux/multiboot2.h \
kernaux/pfa.h
kernaux/pfa.h \
kernaux/stdlib.h

12
include/kernaux/stdlib.h Normal file
View File

@ -0,0 +1,12 @@
#ifndef KERNAUX_INCLUDED_STDLIB
#define KERNAUX_INCLUDED_STDLIB 1
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
}
#endif
#endif

1
src/stdlib.c Normal file
View File

@ -0,0 +1 @@
#include <kernaux/stdlib.h>