summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-07-21 03:26:10 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-07-21 03:26:10 +0000
commitafb7d1dc48fa3eab69212c3ffbd51d636c897ec0 (patch)
tree210d0f84d2c89799b259f7ac0b250cfd6140ca66 /source3/nsswitch
parent0cdc28ab40ed1da48133171450a7ef35afb62e15 (diff)
downloadsamba-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/nsswitch')
-rw-r--r--source3/nsswitch/pam_winbind.c14
-rw-r--r--source3/nsswitch/winbindd.c2
2 files changed, 8 insertions, 8 deletions
diff --git a/source3/nsswitch/pam_winbind.c b/source3/nsswitch/pam_winbind.c
index 4739cfbf7a..a8754d1710 100644
--- a/source3/nsswitch/pam_winbind.c
+++ b/source3/nsswitch/pam_winbind.c
@@ -79,7 +79,7 @@ static int converse(pam_handle_t *pamh, int nargs,
}
-int _make_remark(pam_handle_t * pamh, int type, const char *text)
+static int _make_remark(pam_handle_t * pamh, int type, const char *text)
{
int retval = PAM_SUCCESS;
@@ -241,12 +241,12 @@ static char *_pam_delete(register char *xx)
* obtain a password from the user
*/
-int _winbind_read_password(pam_handle_t * pamh
- ,unsigned int ctrl
- ,const char *comment
- ,const char *prompt1
- ,const char *prompt2
- ,const char **pass)
+static int _winbind_read_password(pam_handle_t * pamh
+ ,unsigned int ctrl
+ ,const char *comment
+ ,const char *prompt1
+ ,const char *prompt2
+ ,const char **pass)
{
int authtok_flag;
int retval;
diff --git a/source3/nsswitch/winbindd.c b/source3/nsswitch/winbindd.c
index 358d9add3a..fbeb6b6347 100644
--- a/source3/nsswitch/winbindd.c
+++ b/source3/nsswitch/winbindd.c
@@ -25,7 +25,7 @@
/* List of all connected clients */
-struct winbindd_cli_state *client_list;
+static struct winbindd_cli_state *client_list;
static int num_clients;
BOOL opt_nocache = False;
BOOL opt_dual_daemon = False;