diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-08-20 00:10:03 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:33:34 -0500 |
commit | 3fd6b47502bac57ca720e372d80843ae63c02723 (patch) | |
tree | d14a045244bb322d22ef763b7f4a18f479329c70 /source4 | |
parent | d9c4ff9ef044b04ec52cea99b8005e71f632ce3e (diff) | |
download | samba-3fd6b47502bac57ca720e372d80843ae63c02723.tar.gz samba-3fd6b47502bac57ca720e372d80843ae63c02723.tar.bz2 samba-3fd6b47502bac57ca720e372d80843ae63c02723.zip |
r9406: Add const.
Andrew Bartlett
(This used to be commit 4c6052ccfd6ff01eb00d8f953ae8912ea6dedba3)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/basic/denytest.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/basic/denytest.c b/source4/torture/basic/denytest.c index 4addf46192..3d2c57f998 100644 --- a/source4/torture/basic/denytest.c +++ b/source4/torture/basic/denytest.c @@ -32,7 +32,7 @@ enum deny_result {A_0=0, A_X=1, A_R=2, A_W=3, A_RW=5}; static const char *denystr(int denymode) { - struct { + const struct { int v; const char *name; } deny_modes[] = { @@ -52,7 +52,7 @@ static const char *denystr(int denymode) static const char *openstr(int mode) { - struct { + const struct { int v; const char *name; } open_modes[] = { @@ -69,7 +69,7 @@ static const char *openstr(int mode) static const char *resultstr(enum deny_result res) { - struct { + const struct { enum deny_result res; const char *name; } results[] = { |