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:
parent
5306c14d78
commit
c5d868c928
12
fns.h
Normal file
12
fns.h
Normal 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);
|
||||||
|
*/
|
@ -6,6 +6,7 @@ CommonCHeaders = '
|
|||||||
|
|
||||||
#include <stdio.h> // TODO remove all these includes, define all function signatures and types manually
|
#include <stdio.h> // TODO remove all these includes, define all function signatures and types manually
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
//#include "fns.h"
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <stdarg.h> // for va_list
|
#include <stdarg.h> // for va_list
|
||||||
#include <inttypes.h> // int64_t etc
|
#include <inttypes.h> // int64_t etc
|
||||||
|
@ -7,7 +7,7 @@ module os
|
|||||||
import filepath
|
import filepath
|
||||||
|
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <signal.h>
|
//#include <signal.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user