1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

start the C header removal process

This commit is contained in:
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 Normal file
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>
/*