lib/param: Make lpcfg_equal_parameter static (again)
authorAndrew Bartlett <abartlet@samba.org>
Mon, 27 Jan 2014 02:34:06 +0000 (15:34 +1300)
committerJeremy Allison <jra@samba.org>
Wed, 7 May 2014 17:49:17 +0000 (19:49 +0200)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/param/loadparm.c
lib/param/loadparm.h

index cf943261fe1dcc49e759399de9bb10ddeb79f608..8bbea7266ddd2f576b44a1299f199ad908b6fb9a 100644 (file)
@@ -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:
index 4b3e68e2f6628b772f3fb9ef42b08b893ea7e055..581832b20e02ad297495101fb9ecfa228f9fec3b 100644 (file)
@@ -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 */