Every file should #include the headers containing the prototypes for it's
global functions.
Signed-off-by: Adrian Bunk <[email protected]>
Signed-off-by: David Teigland <[email protected]>
----
diff -urN a/drivers/dlm/ast.c b/drivers/dlm/ast.c
--- a/drivers/dlm/ast.c 2005-11-07 14:09:35.000000000 -0600
+++ b/drivers/dlm/ast.c 2005-11-07 14:43:59.687919147 -0600
@@ -13,6 +13,7 @@
#include "dlm_internal.h"
#include "lock.h"
+#include "ast.h"
#define WAKE_ASTS 0
diff -urN a/drivers/dlm/dir.c b/drivers/dlm/dir.c
--- a/drivers/dlm/dir.c 2005-11-07 14:09:35.000000000 -0600
+++ b/drivers/dlm/dir.c 2005-11-07 14:43:59.688918994 -0600
@@ -21,6 +21,7 @@
#include "recover.h"
#include "util.h"
#include "lock.h"
+#include "dir.h"
static void put_free_de(struct dlm_ls *ls, struct dlm_direntry *de)
diff -urN a/drivers/dlm/memory.c b/drivers/dlm/memory.c
--- a/drivers/dlm/memory.c 2005-11-07 14:09:35.000000000 -0600
+++ b/drivers/dlm/memory.c 2005-11-07 14:43:59.688918994 -0600
@@ -13,6 +13,7 @@
#include "dlm_internal.h"
#include "config.h"
+#include "memory.h"
static kmem_cache_t *lkb_cache;
diff -urN a/drivers/dlm/midcomms.c b/drivers/dlm/midcomms.c
--- a/drivers/dlm/midcomms.c 2005-11-07 14:09:35.000000000 -0600
+++ b/drivers/dlm/midcomms.c 2005-11-07 14:43:59.689918841 -0600
@@ -29,6 +29,7 @@
#include "config.h"
#include "rcom.h"
#include "lock.h"
+#include "midcomms.h"
static void copy_from_cb(void *dst, const void *base, unsigned offset,
diff -urN a/drivers/dlm/recover.c b/drivers/dlm/recover.c
--- a/drivers/dlm/recover.c 2005-11-07 14:09:35.000000000 -0600
+++ b/drivers/dlm/recover.c 2005-11-07 14:43:59.689918841 -0600
@@ -21,6 +21,7 @@
#include "lock.h"
#include "lowcomms.h"
#include "member.h"
+#include "recover.h"
/*
diff -urN a/drivers/dlm/recoverd.c b/drivers/dlm/recoverd.c
--- a/drivers/dlm/recoverd.c 2005-11-07 14:09:35.000000000 -0600
+++ b/drivers/dlm/recoverd.c 2005-11-07 14:43:59.690918689 -0600
@@ -20,6 +20,7 @@
#include "lowcomms.h"
#include "lock.h"
#include "requestqueue.h"
+#include "recoverd.h"
/* If the start for which we're re-enabling locking (seq) has been superseded
diff -urN a/drivers/dlm/requestqueue.c b/drivers/dlm/requestqueue.c
--- a/drivers/dlm/requestqueue.c 2005-11-07 14:09:35.000000000 -0600
+++ b/drivers/dlm/requestqueue.c 2005-11-07 14:43:59.691918536 -0600
@@ -15,6 +15,7 @@
#include "lock.h"
#include "dir.h"
#include "config.h"
+#include "requestqueue.h"
struct rq_entry {
struct list_head list;
diff -urN a/drivers/dlm/util.c b/drivers/dlm/util.c
--- a/drivers/dlm/util.c 2005-11-07 14:09:35.000000000 -0600
+++ b/drivers/dlm/util.c 2005-11-07 14:43:59.691918536 -0600
@@ -12,6 +12,7 @@
#include "dlm_internal.h"
#include "rcom.h"
+#include "util.h"
static void header_out(struct dlm_header *hd)
{
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]