Made it better
This commit is contained in:
parent
ea01709763
commit
e6129e2bc2
1 changed files with 12 additions and 1 deletions
|
@ -1,7 +1,8 @@
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
#include <sys/types.h>
|
||||||
#include <sys/dg_c_generics.h>
|
#include <sys/dg_c_generics.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <stdlib.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
@ -10,6 +11,16 @@
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
#ifndef DONTDECLARE_MALLOC
|
||||||
|
extern PROTO(PTR,malloc,(unsigned));
|
||||||
|
extern PROTO(PTR ,realloc, (PTR, unsigned));
|
||||||
|
#endif
|
||||||
|
extern PROTO(int, abort,(void));
|
||||||
|
extern PROTO(int, free,(PTR));
|
||||||
|
extern PROTO(void, bcopy,(char*,char*,int));
|
||||||
|
extern PROTO(void, exit,(int));
|
||||||
|
extern int strtol();
|
||||||
|
extern PROTO(void, bzero,(char *, int));
|
||||||
#define NO_STDARG 1
|
#define NO_STDARG 1
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue