blob: f9b77b91e065d539866cd3843c16835642c31491 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
% diff -u3 error.h.orig error.h
--- error.h.orig 1998-06-15 06:53:16.000000000 -0400
+++ error.h 2002-12-24 20:28:40.000000000 -0500
@@ -1,7 +1,7 @@
#ifndef ERROR_H
#define ERROR_H
-extern int errno;
+#include <errno.h>
extern int error_intr;
extern int error_nomem;
% diff -u3 dns.c.orig dns.c
--- dns.c.orig 2002-08-09 19:20:48.000000000 -0400
+++ dns.c 2002-12-24 20:42:46.000000000 -0500
@@ -7,8 +7,6 @@
#include <errno.h>
extern int res_query();
extern int res_search();
-extern int errno;
-extern int h_errno;
#include "ip.h"
#include "ipalloc.h"
#include "fmt.h"
% diff -u3 cdb_seek.c.orig cdb_seek.c
--- cdb_seek.c.orig 1998-06-15 06:53:16.000000000 -0400
+++ cdb_seek.c 2002-12-24 20:42:52.000000000 -0500
@@ -1,6 +1,5 @@
#include <sys/types.h>
#include <errno.h>
-extern int errno;
#include "cdb.h"
#ifndef SEEK_SET
|