mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
r24715: Mark fstring and pstring as deprecated.
(This used to be commit c8118f1561
)
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…
Reference in New Issue
Block a user