]> xenbits.xensource.com Git - xen.git/commitdiff
xl: Add include-only-once checks to xl_cmd{impl,table}.h
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 14 May 2010 07:05:05 +0000 (08:05 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 14 May 2010 07:05:05 +0000 (08:05 +0100)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
tools/libxl/xl_cmdimpl.h
tools/libxl/xl_cmdtable.h

index eca6790a5436900dae2b3fecc736e16b5461c90d..2654efb589ccecc2922157e2c94accc3b5c78521 100644 (file)
@@ -12,6 +12,9 @@
  * GNU Lesser General Public License for more details.
  */
 
+#ifndef XL_CMDIMPL_H
+#define XL_CMDIMPL_H
+
 int main_vcpulist(int argc, char **argv);
 int main_info(int argc, char **argv);
 int main_cd_eject(int argc, char **argv);
@@ -51,3 +54,5 @@ int main_blockdetach(int argc, char **argv);
 int main_uptime(int argc, char **argv);
 
 void help(char *command);
+
+#endif /* XL_CMDIMPL_H */
index 089205101c36f658e191139d46def346ee2fc595..90d1058e8e676d409b0e08f8905451317619fda9 100644 (file)
@@ -12,6 +12,9 @@
  * GNU Lesser General Public License for more details.
  */
 
+#ifndef XL_CMDTABLE_H
+#define XL_CMDTABLE_H
+
 #include "xl_cmdimpl.h"
 
 struct cmd_spec {
@@ -24,3 +27,5 @@ struct cmd_spec {
 
 extern struct cmd_spec cmd_table[];
 extern int cmdtable_len;
+
+#endif /* XL_CMDTABLE_H */