From b0851cb1c7d797e0f63c45cde66d4bc142d7be51 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 2 Jan 2003 12:39:36 +0000 Subject: Add a dash of static. (This used to be commit 6d201c9616c5c30234c0d0d6cd9e2ca60bf736c5) --- source3/utils/ntlm_auth.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/utils') diff --git a/source3/utils/ntlm_auth.c b/source3/utils/ntlm_auth.c index 44f97fded2..2eb7f1a96f 100644 --- a/source3/utils/ntlm_auth.c +++ b/source3/utils/ntlm_auth.c @@ -259,7 +259,7 @@ static BOOL check_auth_crap(void) /* Main program */ -enum { +static enum { OPT_USERNAME = 1000, OPT_DOMAIN, OPT_WORKSTATION, @@ -274,7 +274,7 @@ enum { Routine to set hex password characters into an allocated array. **************************************************************/ -void hex_encode(const unsigned char *buff_in, size_t len, char **out_hex_buffer) +static void hex_encode(const unsigned char *buff_in, size_t len, char **out_hex_buffer) { int i; char *hex_buffer; @@ -291,7 +291,7 @@ void hex_encode(const unsigned char *buff_in, size_t len, char **out_hex_buffer) into a 16 byte array. **************************************************************/ -BOOL hex_decode(const char *hex_buf_in, unsigned char **out_buffer, size_t *size) +static BOOL hex_decode(const char *hex_buf_in, unsigned char **out_buffer, size_t *size) { int i; size_t hex_buf_in_len = strlen(hex_buf_in); -- cgit