summaryrefslogtreecommitdiff
path: root/fs/cifs/smbencrypt.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2006-09-28 19:43:08 +0000
committerSteve French <sfrench@us.ibm.com>2006-09-28 19:43:08 +0000
commit2cd646a2d1d5e0e46aa4bb55b1847b0cb35bd855 (patch)
tree06be4e598e93e5426f32837386187395e592bb0a /fs/cifs/smbencrypt.c
parent1bd5bbcb6531776a8f73e2cc6287fc4dd542e1c7 (diff)
downloadkernel-common-2cd646a2d1d5e0e46aa4bb55b1847b0cb35bd855.tar.gz
kernel-common-2cd646a2d1d5e0e46aa4bb55b1847b0cb35bd855.tar.bz2
kernel-common-2cd646a2d1d5e0e46aa4bb55b1847b0cb35bd855.zip
[CIFS] Remove static and unused symbols
Most cases of the ones found by Shaggy by "make namespacecheck" could be removed or made static Ack: Dave Kleikamp <shaggy@austin.ibm.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/smbencrypt.c')
-rw-r--r--fs/cifs/smbencrypt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/smbencrypt.c b/fs/cifs/smbencrypt.c
index f518c5e45035..c7e55a940e2e 100644
--- a/fs/cifs/smbencrypt.c
+++ b/fs/cifs/smbencrypt.c
@@ -145,7 +145,7 @@ E_md4hash(const unsigned char *passwd, unsigned char *p16)
}
/* Does both the NT and LM owfs of a user's password */
-void
+static void
nt_lm_owf_gen(char *pwd, unsigned char nt_p16[16], unsigned char p16[16])
{
char passwd[514];
@@ -223,7 +223,7 @@ SMBOWFencrypt(unsigned char passwd[16], unsigned char *c8,
}
/* Does the des encryption from the FIRST 8 BYTES of the NT or LM MD4 hash. */
-void
+static void
NTLMSSPOWFencrypt(unsigned char passwd[8],
unsigned char *ntlmchalresp, unsigned char p24[24])
{