libsmbconf: Convert smbconf_drop() to sbcErr.
[samba.git] / lib / smbconf / smbconf_txt.c
index 1ee855c641324e75bae9b69d082521a814a7b0dc..4b16cc23aaa54e9ea43c2941be7968636eff5ef9 100644 (file)
@@ -285,9 +285,9 @@ static void smbconf_txt_get_csn(struct smbconf_ctx *ctx,
 /**
  * Drop the whole configuration (restarting empty)
  */
-static WERROR smbconf_txt_drop(struct smbconf_ctx *ctx)
+static sbcErr smbconf_txt_drop(struct smbconf_ctx *ctx)
 {
-       return WERR_NOT_SUPPORTED;
+       return SBC_ERR_NOT_SUPPORTED;
 }
 
 /**