svn commit: samba r25619 - in branches/SAMBA_4_0/source: include
nsswitch
abartlet at samba.org
abartlet at samba.org
Thu Oct 11 01:54:50 GMT 2007
Author: abartlet
Date: 2007-10-11 01:54:48 +0000 (Thu, 11 Oct 2007)
New Revision: 25619
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25619
Log:
As perhaps could have been expected, the CFLAGS hack broke all non-gcc
compilers.
Instead, as jelmer suggests, remove the depricated marker on fstring,
for as long as it is used in the samba3 winbind protocol.
Andrew Bartlett
Modified:
branches/SAMBA_4_0/source/include/pstring.h
branches/SAMBA_4_0/source/nsswitch/config.mk
Changeset:
Modified: branches/SAMBA_4_0/source/include/pstring.h
===================================================================
--- branches/SAMBA_4_0/source/include/pstring.h 2007-10-11 00:44:39 UTC (rev 25618)
+++ branches/SAMBA_4_0/source/include/pstring.h 2007-10-11 01:54:48 UTC (rev 25619)
@@ -31,7 +31,7 @@
#define FSTRING_LEN 256
_DEPRECATED_ typedef char pstring[PSTRING_LEN];
-_DEPRECATED_ typedef char fstring[FSTRING_LEN];
+typedef char fstring[FSTRING_LEN];
#define pstrcpy(d,s) safe_strcpy((d),(s),sizeof(pstring)-1)
#define pstrcat(d,s) safe_strcat((d),(s),sizeof(pstring)-1)
Modified: branches/SAMBA_4_0/source/nsswitch/config.mk
===================================================================
--- branches/SAMBA_4_0/source/nsswitch/config.mk 2007-10-11 00:44:39 UTC (rev 25618)
+++ branches/SAMBA_4_0/source/nsswitch/config.mk 2007-10-11 01:54:48 UTC (rev 25619)
@@ -4,7 +4,6 @@
DESCRIPTION = Client library for communicating with winbind
OBJ_FILES = wb_common.o
PRIVATE_DEPENDENCIES = SOCKET_WRAPPER
-CFLAGS = -Wno-deprecated-declarations
#################################
# Start BINARY nsstest
More information about the samba-cvs
mailing list