All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Teigland <teigland@redhat.com>
To: akpm@osdl.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH 4/4] dlm: include own headers
Date: Mon, 7 Nov 2005 15:02:54 -0600	[thread overview]
Message-ID: <20051107210254.GD4287@redhat.com> (raw)

Every file should #include the headers containing the prototypes for it's
global functions.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David Teigland <teigland@redhat.com>

----

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)
 {

                 reply	other threads:[~2005-11-07 21:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051107210254.GD4287@redhat.com \
    --to=teigland@redhat.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.