[CIFS] remove build warning
authorSteve French <sfrench@us.ibm.com>
Sat, 17 Nov 2007 00:01:51 +0000 (00:01 +0000)
committerSteve French <sfrench@us.ibm.com>
Sat, 17 Nov 2007 00:01:51 +0000 (00:01 +0000)
CC: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifs_spnego.c
fs/cifs/cifs_spnego.h
fs/cifs/cifsproto.h

index c466b56e0283c7165bef5cb346a79094a363c58d..1529d2b12e9ce04c02e3821b9d9eb1797974159a 100644 (file)
@@ -67,7 +67,7 @@ struct key_type cifs_spnego_key_type = {
 };
 
 #define MAX_VER_STR_LEN   9 /* length of longest version string e.g.
-                               strlen(";ver=0xFF) */
+                               strlen(";ver=0xFF") */
 #define MAX_MECH_STR_LEN 13 /* length of longest security mechanism name, eg
                               in future could have strlen(";sec=ntlmsspi") */
 #define MAX_IPV6_ADDR_LEN 42 /* eg FEDC:BA98:7654:3210:FEDC:BA98:7654:3210/60 */
index f443f3b35134deacaa5c894fe98d0ec5f8d5636f..05a34b17a1ab4411d87875525adfe772e6edf26d 100644 (file)
@@ -41,6 +41,7 @@ struct cifs_spnego_msg {
 
 #ifdef __KERNEL__
 extern struct key_type cifs_spnego_key_type;
+extern struct key *cifs_get_spnego_key(struct cifsSesInfo *sesInfo);
 #endif /* KERNEL */
 
 #endif /* _CIFS_SPNEGO_H */
index 3748104ddedb4b91778d911a1cd828d00231a3d2..8350eec49663bef6f139c1af0ddd1cee5fabbbfe 100644 (file)
@@ -77,7 +77,6 @@ extern void header_assemble(struct smb_hdr *, char /* command */ ,
 extern int small_smb_init_no_tc(const int smb_cmd, const int wct,
                                struct cifsSesInfo *ses,
                                void **request_buf);
-extern struct key *cifs_get_spnego_key(struct cifsSesInfo *sesInfo);
 extern int CIFS_SessSetup(unsigned int xid, struct cifsSesInfo *ses,
                             const int stage,
                             const struct nls_table *nls_cp);