1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

r25619: 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
This commit is contained in:
Andrew Bartlett 2007-10-11 01:54:48 +02:00 committed by Stefan Metzmacher
parent b7e4b4f95c
commit b15df834ae
2 changed files with 1 additions and 2 deletions

View File

@ -31,7 +31,7 @@
#define FSTRING_LEN 256 #define FSTRING_LEN 256
_DEPRECATED_ typedef char pstring[PSTRING_LEN]; _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 pstrcpy(d,s) safe_strcpy((d),(s),sizeof(pstring)-1)
#define pstrcat(d,s) safe_strcat((d),(s),sizeof(pstring)-1) #define pstrcat(d,s) safe_strcat((d),(s),sizeof(pstring)-1)

View File

@ -4,7 +4,6 @@ SO_VERSION = 0
DESCRIPTION = Client library for communicating with winbind DESCRIPTION = Client library for communicating with winbind
OBJ_FILES = wb_common.o OBJ_FILES = wb_common.o
PRIVATE_DEPENDENCIES = SOCKET_WRAPPER PRIVATE_DEPENDENCIES = SOCKET_WRAPPER
CFLAGS = -Wno-deprecated-declarations
################################# #################################
# Start BINARY nsstest # Start BINARY nsstest