1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +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 used to be commit b15df834ae6506a5c585ec1ede8bf513339d9b13)
This commit is contained in:
Andrew Bartlett 2007-10-11 01:54:48 +02:00 committed by Stefan Metzmacher
parent 68c550e8e4
commit a72869d77b
2 changed files with 1 additions and 2 deletions

View File

@ -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)

View File

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