blob: 4c308261036fbb30c95673b4e9126a98f4788be2 (
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
|
diff -urN src-old/lib/Liblog/pbs_log.c src/lib/Liblog/pbs_log.c
--- src-old/lib/Liblog/pbs_log.c 2003-07-30 17:04:55.000000000 -0500
+++ src/lib/Liblog/pbs_log.c 2003-07-30 17:04:00.000000000 -0500
@@ -109,7 +109,7 @@
/* Global Data */
-extern int errno;
+#include <errno.h>
char log_buffer[LOG_BUF_SIZE];
char log_directory[_POSIX_PATH_MAX/2];
diff -urN src-old/scheduler.basl/af_resmom.c src/scheduler.basl/af_resmom.c
--- src-old/scheduler.basl/af_resmom.c 2003-07-30 17:04:56.000000000 -0500
+++ src/scheduler.basl/af_resmom.c 2003-07-30 17:04:00.000000000 -0500
@@ -103,7 +103,7 @@
static char ident[] = "@(#) $RCSfile: openpbs-2.3.16-r2-errno-fixup.patch,v $ $Revision: 1.1 $";
/* External Variables */
-extern int errno;
+#include <errno.h>
/* External Functions */
extern int
diff -urN src-old/server/svr_connect.c src/server/svr_connect.c
--- src-old/server/svr_connect.c 2003-07-30 17:04:56.000000000 -0500
+++ src/server/svr_connect.c 2003-07-30 17:04:00.000000000 -0500
@@ -113,7 +113,7 @@
struct connect_handle connection[PBS_NET_MAX_CONNECTIONS]; /* used by API */
-extern int errno;
+#include <errno.h>
extern int pbs_errno;
extern unsigned int pbs_server_port_dis;
|