|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH 02/14] xl: Move "extern" declarations to xl.h
Declarations (as opposed to definitions) of external objects should
not appear in .c files.
Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
tools/libxl/xl.c | 3 ---
tools/libxl/xl.h | 3 +++
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/libxl/xl.c b/tools/libxl/xl.c
index 82ab873..77eaa7b 100644
--- a/tools/libxl/xl.c
+++ b/tools/libxl/xl.c
@@ -31,9 +31,6 @@
#include "libxl_utils.h"
#include "xl.h"
-extern struct libxl_ctx ctx;
-extern int logfile;
-
void log_callback(
void *userdata, int loglevel, const char *file,
int line, const char *func, char *s)
diff --git a/tools/libxl/xl.h b/tools/libxl/xl.h
index faf784a..450a12f 100644
--- a/tools/libxl/xl.h
+++ b/tools/libxl/xl.h
@@ -74,4 +74,7 @@ void help(char *command);
extern struct cmd_spec cmd_table[];
extern int cmdtable_len;
+extern struct libxl_ctx ctx;
+extern int logfile;
+
#endif /* XL_H */
--
1.5.6.5
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH] libxc: Use new DBGPRINTF for a few debugging output messages, (continued)
[Xen-devel] Re: [PATCH 00/14] Logging cleanups, libxc API change, Ian Jackson
[Xen-devel] [PATCH 00/14] Logging cleanups, libxc API change, Ian Jackson
- [Xen-devel] [PATCH 01/14] xl: Combine headers into one header file., Ian Jackson
- [Xen-devel] [PATCH 02/14] xl: Move "extern" declarations to xl.h,
Ian Jackson <=
- [Xen-devel] [PATCH 03/14] stubdom/newlib: Provide correct names for time.h timezone variables, Ian Jackson
- [Xen-devel] [PATCH 04/14] libxc: xc_domain_save.c: rename "write_exact" macro, Ian Jackson
- [Xen-devel] [PATCH 05/14] libelf: Tidy up logging and remove dependency on stdio., Ian Jackson
- [Xen-devel] [PATCH 06/14] xtl: New xentoollog mini-library., Ian Jackson
- Message not available
- [Xen-devel] [PATCH 08/14] libxc: Use new DBGPRINTF for a few debugging output messages, Ian Jackson
- [Xen-devel] [PATCH 09/14] libxl: Fix up some incorrect printf formats, Ian Jackson
- [Xen-devel] [PATCH 10/14] libxl: Use the caller's logger (xentoollog), Ian Jackson
- [Xen-devel] [PATCH 11/14] xl: Allow control of logging level., Ian Jackson
- [Xen-devel] [PATCH 12/14] libxc: save/restore error handling fixes, Ian Jackson
- [Xen-devel] [PATCH 13/14] libxc: remove \n from strings passed to PERROR, Ian Jackson
|
|
|
|
|