1 diff -urN samba-3.0.25a.org/examples/libsmbclient/smbwrapper/Makefile samba-3.0.25a/examples/libsmbclient/smbwrapper/Makefile
2 --- samba-3.0.25a.org/examples/libsmbclient/smbwrapper/Makefile 2006-01-25 00:46:42.000000000 +0100
3 +++ samba-3.0.25a/examples/libsmbclient/smbwrapper/Makefile 2007-06-17 17:43:30.088457851 +0200
6 CFLAGS = -I$(SAMBA_INCL) $(EXTLIB_INCL)
8 -LDFLAGS = -L/usr/local/samba/lib
9 +LDFLAGS = -L../../../source/bin
11 SMBINCLUDE = -I../../../source/include
12 CFLAGS= -fpic -g -O0 $(DEFS) $(SMBINCLUDE)
13 diff -urN samba-3.0.25a.org/examples/libsmbclient/smbwrapper/wrapper.c samba-3.0.25a/examples/libsmbclient/smbwrapper/wrapper.c
14 --- samba-3.0.25a.org/examples/libsmbclient/smbwrapper/wrapper.c 2006-01-25 00:46:42.000000000 +0100
15 +++ samba-3.0.25a/examples/libsmbclient/smbwrapper/wrapper.c 2007-06-17 17:39:16.085693163 +0200
26 #include "libsmbclient.h"
27 #include "bsd-strlfunc.h"
33 * function and smbw.c et al. Functions that return other than an
34 * integer value, however, MUST have their return value defined.
36 - off64_t smbw_lseek();
37 + /* off64_t smbw_lseek(); */
40 return (off_t) smbw_lseek(fd, offset, whence);
42 * function and smbw.c et al. Functions that return other than an
43 * integer value, however, MUST have their return value defined.
45 - off64_t smbw_lseek();
46 + /* off64_t smbw_lseek(); */
49 ret = smbw_lseek(fd, offset, whence);