summaryrefslogtreecommitdiff
path: root/source4/param
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-08-24 08:48:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:16:40 -0500
commit12e2e43ca3fe6eaee1f1f440ff1ef21110ad32a7 (patch)
treee6f5bdbe8abc610ff5a2715cac59a97186db8bd8 /source4/param
parent5987aace3b62b68680246aaf2ba041fd2c090ceb (diff)
downloadsamba-12e2e43ca3fe6eaee1f1f440ff1ef21110ad32a7.tar.gz
samba-12e2e43ca3fe6eaee1f1f440ff1ef21110ad32a7.tar.bz2
samba-12e2e43ca3fe6eaee1f1f440ff1ef21110ad32a7.zip
r17777: these macros are unused...
metze (This used to be commit 45baef570de751412116bf59ae5c91a57635349f)
Diffstat (limited to 'source4/param')
-rw-r--r--source4/param/loadparm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c
index 5867003b52..0b41c8ed40 100644
--- a/source4/param/loadparm.c
+++ b/source4/param/loadparm.c
@@ -800,8 +800,10 @@ static const char *lp_string(const char *s)
const char **fn_name(void) {return(*(const char ***)(ptr));}
#define FN_GLOBAL_BOOL(fn_name,ptr) \
BOOL fn_name(void) {return((BOOL)*(int *)(ptr));}
+#if 0 /* unused */
#define FN_GLOBAL_CHAR(fn_name,ptr) \
char fn_name(void) {return(*(char *)(ptr));}
+#endif
#define FN_GLOBAL_INTEGER(fn_name,ptr) \
int fn_name(void) {return(*(int *)(ptr));}
@@ -813,8 +815,10 @@ static const char *lp_string(const char *s)
const char **fn_name(int i) {return(const char **)(LP_SNUM_OK(i)? ServicePtrs[(i)]->val : sDefault.val);}
#define FN_LOCAL_BOOL(fn_name,val) \
BOOL fn_name(int i) {return(LP_SNUM_OK(i)? ServicePtrs[(i)]->val : sDefault.val);}
+#if 0 /* unused */
#define FN_LOCAL_CHAR(fn_name,val) \
char fn_name(int i) {return(LP_SNUM_OK(i)? ServicePtrs[(i)]->val : sDefault.val);}
+#endif
#define FN_LOCAL_INTEGER(fn_name,val) \
int fn_name(int i) {return(LP_SNUM_OK(i)? ServicePtrs[(i)]->val : sDefault.val);}