diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-08-27 18:32:51 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:02:54 -0500 |
commit | f93a18eeb7d1f748a7b026d7eae064bfefa5c5f5 (patch) | |
tree | d9d92a3a80d199b58167a5289bded7807ff1a257 | |
parent | 61ffa08f4c95e29d301de9fbabd6e71c2dbc1056 (diff) | |
download | samba-f93a18eeb7d1f748a7b026d7eae064bfefa5c5f5.tar.gz samba-f93a18eeb7d1f748a7b026d7eae064bfefa5c5f5.tar.bz2 samba-f93a18eeb7d1f748a7b026d7eae064bfefa5c5f5.zip |
r24715: Mark fstring and pstring as deprecated.
(This used to be commit c8118f156129cbd173693157e6648ed5e01813f3)
-rw-r--r-- | source4/include/pstring.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/include/pstring.h b/source4/include/pstring.h index f3931fd671..aee9d75a7f 100644 --- a/source4/include/pstring.h +++ b/source4/include/pstring.h @@ -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) |