summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/smbconf/smbconf_reg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/lib/smbconf/smbconf_reg.c b/source3/lib/smbconf/smbconf_reg.c
index aaa03e21e8..98613efc2a 100644
--- a/source3/lib/smbconf/smbconf_reg.c
+++ b/source3/lib/smbconf/smbconf_reg.c
@@ -30,6 +30,9 @@ struct reg_private_data {
*
**********************************************************************/
+/**
+ * a convenience helper to cast the private data structure
+ */
static struct reg_private_data *rpd(struct smbconf_ctx *ctx)
{
return (struct reg_private_data *)(ctx->data);