diff options
| -rw-r--r-- | cdb_seek.c | 1 | ||||
| -rw-r--r-- | dns.c | 2 | ||||
| -rw-r--r-- | error.h | 2 |
3 files changed, 1 insertions, 4 deletions
| @@ -1,6 +1,5 @@ | |||
| 1 | #include <sys/types.h> | 1 | #include <sys/types.h> |
| 2 | #include <errno.h> | 2 | #include <errno.h> |
| 3 | extern int errno; | ||
| 4 | #include "cdb.h" | 3 | #include "cdb.h" |
| 5 | 4 | ||
| 6 | #ifndef SEEK_SET | 5 | #ifndef SEEK_SET |
| @@ -7,8 +7,6 @@ | |||
| 7 | #include <errno.h> | 7 | #include <errno.h> |
| 8 | extern int res_query(); | 8 | extern int res_query(); |
| 9 | extern int res_search(); | 9 | extern int res_search(); |
| 10 | extern int errno; | ||
| 11 | extern int h_errno; | ||
| 12 | #include "ip.h" | 10 | #include "ip.h" |
| 13 | #include "ipalloc.h" | 11 | #include "ipalloc.h" |
| 14 | #include "fmt.h" | 12 | #include "fmt.h" |
| @@ -1,7 +1,7 @@ | |||
| 1 | #ifndef ERROR_H | 1 | #ifndef ERROR_H |
| 2 | #define ERROR_H | 2 | #define ERROR_H |
| 3 | 3 | ||
| 4 | extern int errno; | 4 | #include <errno.h> |
| 5 | 5 | ||
| 6 | extern int error_intr; | 6 | extern int error_intr; |
| 7 | extern int error_nomem; | 7 | extern int error_nomem; |
