diff options
Diffstat (limited to 'source4/include/safe_string.h')
-rw-r--r-- | source4/include/safe_string.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/source4/include/safe_string.h b/source4/include/safe_string.h index 7c2b93270c..57c5d21429 100644 --- a/source4/include/safe_string.h +++ b/source4/include/safe_string.h @@ -57,13 +57,4 @@ #define strlower(s) strlower_m(s) #define strupper(s) strupper_m(s) -/* the addition of the DEVELOPER checks in safe_strcpy means we must - * update a lot of code. To make this a little easier here are some - * functions that provide the lengths with less pain */ -#define pstrcpy_base(dest, src, pstring_base) \ - safe_strcpy(dest, src, sizeof(pstring)-PTR_DIFF(dest,pstring_base)-1) - -#define push_pstring_base(dest, src, pstring_base) \ - push_ascii(dest, src, sizeof(pstring)-PTR_DIFF(dest,pstring_base)-1, STR_TERMINATE) - #endif |