summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-06-29 13:22:26 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-06-29 15:44:08 +1000
commit658f55bbb73a199fa51fc945216660be76fffc1b (patch)
tree960fd343e341862edff96b0bfb86d99a0b411c3a /source3
parent7198d540e8abc31f831e9c13a031b905604176c6 (diff)
downloadsamba-658f55bbb73a199fa51fc945216660be76fffc1b.tar.gz
samba-658f55bbb73a199fa51fc945216660be76fffc1b.tar.bz2
samba-658f55bbb73a199fa51fc945216660be76fffc1b.zip
s3-param Remove unused FLAG_DOS_STRING
Diffstat (limited to 'source3')
-rw-r--r--source3/include/smb.h1
-rw-r--r--source3/param/loadparm.c4
2 files changed, 2 insertions, 3 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 152db48db5..598a0e9c4a 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -756,7 +756,6 @@ struct parm_struct {
#define FLAG_DEVELOPER 0x0040 /* No longer used */
#define FLAG_DEPRECATED 0x1000 /* options that should no longer be used */
#define FLAG_HIDE 0x2000 /* options that should be hidden in SWAT */
-#define FLAG_DOS_STRING 0x4000 /* convert from UNIX to DOS codepage when reading this string. */
#define FLAG_META 0x8000 /* A meta directive - not a real parameter */
#define FLAG_CMDLINE 0x10000 /* option has been overridden */
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 3c213420ae..ee14c19a32 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -6754,10 +6754,10 @@ static void show_parameter(int parmIndex)
"P_ENUM", "P_SEP"};
unsigned flags[] = { FLAG_BASIC, FLAG_SHARE, FLAG_PRINT, FLAG_GLOBAL,
FLAG_WIZARD, FLAG_ADVANCED, FLAG_DEVELOPER, FLAG_DEPRECATED,
- FLAG_HIDE, FLAG_DOS_STRING};
+ FLAG_HIDE};
const char *flag_names[] = { "FLAG_BASIC", "FLAG_SHARE", "FLAG_PRINT",
"FLAG_GLOBAL", "FLAG_WIZARD", "FLAG_ADVANCED", "FLAG_DEVELOPER",
- "FLAG_DEPRECATED", "FLAG_HIDE", "FLAG_DOS_STRING", NULL};
+ "FLAG_DEPRECATED", "FLAG_HIDE", NULL};
printf("%s=%s", parm_table[parmIndex].label,
type[parm_table[parmIndex].type]);