cluster: RHEL6 - gfs2_edit: fix extended.h to not double-include
Bob Peterson
rpeterso at fedoraproject.org
Thu Oct 14 14:34:11 UTC 2010
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=fffc76176f61f41d167cb357ecbee8fe07798a72
Commit: fffc76176f61f41d167cb357ecbee8fe07798a72
Parent: 3b0691b0cbead65ed91c9cf3e2d9cd833b9471ad
Author: Bob Peterson <rpeterso at redhat.com>
AuthorDate: Thu Oct 14 09:31:57 2010 -0500
Committer: Bob Peterson <rpeterso at redhat.com>
CommitterDate: Thu Oct 14 09:31:57 2010 -0500
gfs2_edit: fix extended.h to not double-include
This patch adds the standard conditional-compile code for includes
so they don't declare things multiple times.
rhbz#634623
---
gfs2/edit/extended.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/gfs2/edit/extended.h b/gfs2/edit/extended.h
index 9d87317..cfb67be 100644
--- a/gfs2/edit/extended.h
+++ b/gfs2/edit/extended.h
@@ -1,3 +1,8 @@
+#ifndef __EXTENDED_DOT_H__
+#define __EXTENDED_DOT_H__
extern int do_indirect_extended(char *diebuf, struct iinfo *iinf);
extern int display_extended(void);
+
+#endif
+
More information about the cluster-commits
mailing list