Lines 1-11
Link Here
|
1 |
--- smbval/smblib.inc.c.orig Wed Sep 26 12:42:22 2007 |
1 |
--- smbval/smblib.inc.c.orig 2008-07-03 01:44:33.000000000 +0400 |
2 |
+++ smbval/smblib.inc.c Wed Sep 26 12:43:08 2007 |
2 |
+++ smbval/smblib.inc.c 2008-07-03 01:45:18.000000000 +0400 |
3 |
@@ -20,7 +20,7 @@ |
3 |
@@ -20,10 +20,10 @@ |
4 |
* with this program; if not, write to the Free Software Foundation, Inc., |
4 |
* with this program; if not, write to the Free Software Foundation, Inc., |
5 |
* 675 Mass Ave, Cambridge, MA 02139, USA. */ |
5 |
* 675 Mass Ave, Cambridge, MA 02139, USA. */ |
6 |
#include <stdio.h> |
6 |
#include <stdio.h> |
7 |
-#include <malloc.h> |
7 |
-#include <malloc.h> |
8 |
+#include <stdlib.h> |
8 |
+#include <stdlib.h> |
9 |
|
9 |
|
10 |
static int SMBlib_errno; |
10 |
-static int SMBlib_errno; |
11 |
static int SMBlib_SMB_Error; |
11 |
-static int SMBlib_SMB_Error; |
|
|
12 |
+int SMBlib_errno; |
13 |
+int SMBlib_SMB_Error; |
14 |
#define SMBLIB_ERRNO |
15 |
#define uchar unsigned char |
16 |
#include "smblib-priv.h" |
17 |
@@ -32,7 +32,7 @@ |
18 |
|
19 |
#include <signal.h> |
20 |
|
21 |
-static SMB_State_Types SMBlib_State; |
22 |
+SMB_State_Types SMBlib_State; |
23 |
|
24 |
/* Initialize the SMBlib package */ |
25 |
static int |