start the C header removal process

pull/2660/head
Alexander Medvednikov 2019-11-05 19:24:00 +03:00
parent 5306c14d78
commit c5d868c928
3 changed files with 14 additions and 1 deletions

12
fns.h 100644
View File

@ -0,0 +1,12 @@
// <signal.h>
/*
void sigaction();
void sigemptyset();
// <string.h>
void* memcpy();
void* memmove();
void* memset();
unsigned long strlen(const char*);
char* strerror(int);
*/

View File

@ -6,6 +6,7 @@ CommonCHeaders = '
#include <stdio.h> // TODO remove all these includes, define all function signatures and types manually
#include <stdlib.h>
//#include "fns.h"
#include <signal.h>
#include <stdarg.h> // for va_list
#include <inttypes.h> // int64_t etc

View File

@ -7,7 +7,7 @@ module os
import filepath
#include <sys/stat.h>
#include <signal.h>
//#include <signal.h>
#include <errno.h>
/*