summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-01-02 12:39:36 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-01-02 12:39:36 +0000
commitb0851cb1c7d797e0f63c45cde66d4bc142d7be51 (patch)
tree70199f61d307e4c502a1ef3ed595e24300ecd214
parent94fec25c5fa1570a43370a105f2b86e2ed96c90b (diff)
downloadsamba-b0851cb1c7d797e0f63c45cde66d4bc142d7be51.tar.gz
samba-b0851cb1c7d797e0f63c45cde66d4bc142d7be51.tar.bz2
samba-b0851cb1c7d797e0f63c45cde66d4bc142d7be51.zip
Add a dash of static.
(This used to be commit 6d201c9616c5c30234c0d0d6cd9e2ca60bf736c5)
-rw-r--r--source3/utils/ntlm_auth.c6
1 files changed, 3 insertions, 3 deletions
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);