summaryrefslogtreecommitdiffstats
path: root/bstr.h
diff options
context:
space:
mode:
Diffstat (limited to 'bstr.h')
-rw-r--r--bstr.h2
1 files changed, 1 insertions, 1 deletions
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};
}