WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] xl: Add include-only-once checks to xl_cm

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xl: Add include-only-once checks to xl_cmd{impl, table}.h
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 14 May 2010 00:41:08 -0700
Delivery-date: Fri, 14 May 2010 00:45:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1273820705 -3600
# Node ID baccadfd9418b8dee931945e5752cb118f5bf3cb
# Parent  b21b9dd9d1e3b4884100eb96c36c663f4463b5a3
xl: Add include-only-once checks to xl_cmd{impl,table}.h

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 tools/libxl/xl_cmdimpl.h  |    5 +++++
 tools/libxl/xl_cmdtable.h |    5 +++++
 2 files changed, 10 insertions(+)

diff -r b21b9dd9d1e3 -r baccadfd9418 tools/libxl/xl_cmdimpl.h
--- a/tools/libxl/xl_cmdimpl.h  Fri May 14 08:01:51 2010 +0100
+++ b/tools/libxl/xl_cmdimpl.h  Fri May 14 08:05:05 2010 +0100
@@ -11,6 +11,9 @@
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * 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);
@@ -51,3 +54,5 @@ int main_uptime(int argc, char **argv);
 int main_uptime(int argc, char **argv);
 
 void help(char *command);
+
+#endif /* XL_CMDIMPL_H */
diff -r b21b9dd9d1e3 -r baccadfd9418 tools/libxl/xl_cmdtable.h
--- a/tools/libxl/xl_cmdtable.h Fri May 14 08:01:51 2010 +0100
+++ b/tools/libxl/xl_cmdtable.h Fri May 14 08:05:05 2010 +0100
@@ -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 */

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xl: Add include-only-once checks to xl_cmd{impl, table}.h, Xen patchbot-unstable <=