mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
r24715: Mark fstring and pstring as deprecated.
(This used to be commit c8118f156129cbd173693157e6648ed5e01813f3)
This commit is contained in:
parent
61ffa08f4c
commit
f93a18eeb7
@ -30,11 +30,11 @@
|
||||
#define PSTRING_LEN 1024
|
||||
#define FSTRING_LEN 256
|
||||
|
||||
typedef char pstring[PSTRING_LEN];
|
||||
typedef char fstring[FSTRING_LEN];
|
||||
_DEPRECATED_ typedef char pstring[PSTRING_LEN];
|
||||
_DEPRECATED_ 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)
|
||||
#define pstrcpy(d,s) safe_strcpy((d),(s),sizeof(pstring)-1)
|
||||
#define pstrcat(d,s) safe_strcat((d),(s),sizeof(pstring)-1)
|
||||
#define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1)
|
||||
#define fstrcat(d,s) safe_strcat((d),(s),sizeof(fstring)-1)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user