From f93a18eeb7d1f748a7b026d7eae064bfefa5c5f5 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 27 Aug 2007 18:32:51 +0000 Subject: r24715: Mark fstring and pstring as deprecated. (This used to be commit c8118f156129cbd173693157e6648ed5e01813f3) --- source4/include/pstring.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source4/include') 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) -- cgit