1
0
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:
Jelmer Vernooij 2007-08-27 18:32:51 +00:00 committed by Gerald (Jerry) Carter
parent 61ffa08f4c
commit f93a18eeb7

View File

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