From 0958620591375b41a8d21dd2a3501e1c9e5e9cba Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Wed, 27 Jul 2011 08:38:12 +0300 Subject: bstr: rename BSTR() -> bstr() Rename the BSTR() function to bstr(). The former caused a conflict with some Windows OS name, and it's no longer a macro so uppercase naming is less appropriate. --- bstr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bstr.h') diff --git a/bstr.h b/bstr.h index 390ec1a784..1d26cb2728 100644 --- a/bstr.h +++ b/bstr.h @@ -73,7 +73,7 @@ static inline struct bstr bstrdup(void *talloc_ctx, struct bstr str) return r; } -static inline struct bstr BSTR(const unsigned char *s) +static inline struct bstr bstr(const unsigned char *s) { return (struct bstr){(unsigned char *)s, s ? strlen(s) : 0}; } -- cgit v1.2.3