diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-07-21 03:26:10 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-07-21 03:26:10 +0000 |
commit | afb7d1dc48fa3eab69212c3ffbd51d636c897ec0 (patch) | |
tree | 210d0f84d2c89799b259f7ac0b250cfd6140ca66 /source3/utils | |
parent | 0cdc28ab40ed1da48133171450a7ef35afb62e15 (diff) | |
download | samba-afb7d1dc48fa3eab69212c3ffbd51d636c897ec0.tar.gz samba-afb7d1dc48fa3eab69212c3ffbd51d636c897ec0.tar.bz2 samba-afb7d1dc48fa3eab69212c3ffbd51d636c897ec0.zip |
Another smattering of static and const
(This used to be commit 897cc4a610932e596f8a9807213166e380ef0203)
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/pdbedit.c | 2 | ||||
-rw-r--r-- | source3/utils/smbcacls.c | 2 | ||||
-rw-r--r-- | source3/utils/smbtree.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/pdbedit.c b/source3/utils/pdbedit.c index b30ab6f38e..5fa7e3be95 100644 --- a/source3/utils/pdbedit.c +++ b/source3/utils/pdbedit.c @@ -30,7 +30,7 @@ extern BOOL AllowDebugChange; Add all currently available users to another db ********************************************************/ -int export_database (struct pdb_context *in, char *db){ +static int export_database (struct pdb_context *in, char *db){ struct pdb_context *context; SAM_ACCOUNT *user = NULL; diff --git a/source3/utils/smbcacls.c b/source3/utils/smbcacls.c index b6a13180a3..4f9df90fa2 100644 --- a/source3/utils/smbcacls.c +++ b/source3/utils/smbcacls.c @@ -29,7 +29,7 @@ static pstring owner_username; static fstring server; static int got_pass; static int test_args; -TALLOC_CTX *ctx; +static TALLOC_CTX *ctx; #define CREATE_ACCESS_READ READ_CONTROL_ACCESS #define CREATE_ACCESS_WRITE (WRITE_DAC_ACCESS | WRITE_OWNER_ACCESS) diff --git a/source3/utils/smbtree.c b/source3/utils/smbtree.c index bcb460ee0b..b733f8112f 100644 --- a/source3/utils/smbtree.c +++ b/source3/utils/smbtree.c @@ -32,7 +32,7 @@ struct user_auth_info { /* How low can we go? */ enum tree_level {LEV_WORKGROUP, LEV_SERVER, LEV_SHARE}; -enum tree_level level = LEV_SHARE; +static enum tree_level level = LEV_SHARE; static void usage(void) { |