|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] xl: Add include-only-once checks to xl_cm
# 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 <=
|
|
|
|
|