LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File gfs2_edit_fix_extended_h_to_not_double_include.patch of Package cluster (Project home:sschapiro:openstack:upstream)

commit fffc76176f61f41d167cb357ecbee8fe07798a72
Author: Bob Peterson <rpeterso@redhat.com>
Date:   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

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
+