From b709304a21d4e95725e8d91c61fd2eab25f77f28 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 27 Jan 2014 15:34:06 +1300 Subject: [PATCH] lib/param: Make lpcfg_equal_parameter static (again) Signed-off-by: Andrew Bartlett Reviewed-by: Jeremy Allison --- lib/param/loadparm.c | 2 +- lib/param/loadparm.h | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c index cf943261fe1..8bbea7266dd 100644 --- a/lib/param/loadparm.c +++ b/lib/param/loadparm.c @@ -1794,7 +1794,7 @@ void lpcfg_print_parameter(struct parm_struct *p, void *ptr, FILE * f) * Check if two parameters are equal. */ - bool lpcfg_equal_parameter(parm_type type, void *ptr1, void *ptr2) +static bool lpcfg_equal_parameter(parm_type type, void *ptr1, void *ptr2) { switch (type) { case P_BOOL: diff --git a/lib/param/loadparm.h b/lib/param/loadparm.h index 4b3e68e2f66..581832b20e0 100644 --- a/lib/param/loadparm.h +++ b/lib/param/loadparm.h @@ -286,10 +286,4 @@ void init_printer_values(TALLOC_CTX *, struct loadparm_service *); int num_parameters(void); -/** - * Check if two parameters are equal. - */ - -bool lpcfg_equal_parameter(parm_type type, void *ptr1, void *ptr2); - #endif /* _LOADPARM_H */