summaryrefslogtreecommitdiffstats
path: root/source/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
commit897cc4a610932e596f8a9807213166e380ef0203 (patch)
tree194d17612df1f8a5576bfd6173a10e2ebe8fdc41 /source/nsswitch
parent28373e5bc2acc09a9e4c9dab3f76c21d04850dde (diff)
downloadsamba-897cc4a610932e596f8a9807213166e380ef0203.tar.gz
samba-897cc4a610932e596f8a9807213166e380ef0203.tar.xz
samba-897cc4a610932e596f8a9807213166e380ef0203.zip
Another smattering of static and const
Diffstat (limited to 'source/nsswitch')
-rw-r--r--source/nsswitch/pam_winbind.c14
-rw-r--r--source/nsswitch/winbindd.c2
2 files changed, 8 insertions, 8 deletions
diff --git a/source/nsswitch/pam_winbind.c b/source/nsswitch/pam_winbind.c
index 4739cfbf7ad..a8754d1710d 100644
--- a/source/nsswitch/pam_winbind.c
+++ b/source/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/source/nsswitch/winbindd.c b/source/nsswitch/winbindd.c
index 358d9add3a3..fbeb6b6347f 100644
--- a/source/nsswitch/winbindd.c
+++ b/source/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;