Fixed issue #44.

Removed unnesessary include <sys/types.h> from stdio.h, stdlib.h,
string.h, strings.h and time.h.
This commit is contained in:
Sergey
2015-06-21 18:59:02 -07:00
parent aedd0138b3
commit bca590d42b
10 changed files with 52 additions and 12 deletions

View File

@@ -43,8 +43,6 @@
#ifndef _STDLIB_H_
#define _STDLIB_H_
#include <sys/types.h>
#ifndef NULL
#define NULL 0
#endif
@@ -54,6 +52,11 @@
#define RAND_MAX 0x7fff
#ifndef _SIZE_T
#define _SIZE_T
typedef unsigned size_t;
#endif
void abort (void);
int abs (int);
int atexit (void (*)(void));
@@ -83,7 +86,7 @@ char *_findenv (const char *name, int *offset);
void *alloca (size_t size);
int daemon (int, int);
char *devname (dev_t dev, mode_t type);
char *devname (int dev, int type);
int getloadavg (unsigned loadavg[], int nelem);
extern char *suboptarg; /* getsubopt(3) external variable */