]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
staging: cxt1e1: Add extern keyword for sparse 'static' warning
authorShaun Laing <shaun@xresource.ca>
Tue, 4 Mar 2014 19:44:21 +0000 (12:44 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Mar 2014 00:35:37 +0000 (16:35 -0800)
Resolve sparse "warning: symbol '...' was not declared.  Should it be static?"
messages.  Includes "comet_tables.h", which contains extern declarations for
the variables defined in comet_tables.c.

Signed-off-by: Shaun Laing <shaun@xresource.ca>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/cxt1e1/comet_tables.c

index 84931117da35210771d68f6e06c713cd51e6e3b4..e96665ea3662fc091a048c01041da2f44c13d84e 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #include <linux/types.h>
+#include "comet_tables.h"
 
 /*****************************************************************************
 *