mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
s3: Fix the build when compiling without JSON support
[3762/3895] Compiling source3/utils/net_ads_gpo.c ../source3/utils/net_ads.c: In function ‘net_ads_cldap_netlogon_json’: ../source3/utils/net_ads.c:311:2: error: parameter name omitted (ADS_STRUCT *, const char *, ^ ../source3/utils/net_ads.c:311:2: error: parameter name omitted ../source3/utils/net_ads.c:312:16: error: parameter name omitted const struct NETLOGON_SAM_LOGON_RESPONSE_EX *) ^ ../source3/utils/net_ads.c: In function ‘net_ads_info_json’: ../source3/utils/net_ads.c:520:1: error: parameter name omitted static int net_ads_info_json(ADS_STRUCT *) ^ Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Ralph Boehme <slow@samba.org> Autobuild-User(master): Ralph Böhme <slow@samba.org> Autobuild-Date(master): Mon Sep 24 07:03:09 CEST 2018 on sn-devel-144
This commit is contained in:
parent
6dc9f70bbb
commit
08a5fbd867
@ -308,8 +308,9 @@ failure:
|
|||||||
#else /* [HAVE_JANSSON] */
|
#else /* [HAVE_JANSSON] */
|
||||||
|
|
||||||
static int net_ads_cldap_netlogon_json
|
static int net_ads_cldap_netlogon_json
|
||||||
(ADS_STRUCT *, const char *,
|
(ADS_STRUCT *ads,
|
||||||
const struct NETLOGON_SAM_LOGON_RESPONSE_EX *)
|
const char *addr,
|
||||||
|
const struct NETLOGON_SAM_LOGON_RESPONSE_EX * reply)
|
||||||
{
|
{
|
||||||
d_fprintf(stderr, _("JSON support not available\n"));
|
d_fprintf(stderr, _("JSON support not available\n"));
|
||||||
|
|
||||||
@ -517,7 +518,7 @@ failure:
|
|||||||
|
|
||||||
#else /* [HAVE_JANSSON] */
|
#else /* [HAVE_JANSSON] */
|
||||||
|
|
||||||
static int net_ads_info_json(ADS_STRUCT *)
|
static int net_ads_info_json(ADS_STRUCT *ads)
|
||||||
{
|
{
|
||||||
d_fprintf(stderr, _("JSON support not available\n"));
|
d_fprintf(stderr, _("JSON support not available\n"));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user