deleted file mode 100644
@@ -1,2 +0,0 @@
-
-void console_handle_input(evtchn_port_t port, struct pt_regs *regs, void *data);
@@ -5,13 +5,13 @@
#include <mini-os/events.h>
#include <mini-os/os.h>
#include <mini-os/lib.h>
+#include <mini-os/console.h>
#include <mini-os/xenbus.h>
#include <xen/io/console.h>
#include <xen/io/protocols.h>
#include <xen/io/ring.h>
#include <mini-os/xmalloc.h>
#include <mini-os/gnttab.h>
-#include "console.h"
void free_consfront(struct consfront_dev *dev)
{
@@ -5,6 +5,7 @@
#include <mini-os/events.h>
#include <mini-os/os.h>
#include <mini-os/lib.h>
+#include <mini-os/console.h>
#include <mini-os/xenbus.h>
#include <xen/io/console.h>
#include <xen/io/protocols.h>
@@ -12,7 +13,6 @@
#include <xen/hvm/params.h>
#include <mini-os/xmalloc.h>
#include <mini-os/gnttab.h>
-#include "console.h"
DECLARE_WAIT_QUEUE_HEAD(console_queue);
@@ -98,5 +98,6 @@ void free_consfront(struct consfront_dev *dev);
extern const struct file_ops console_ops;
int open_consfront(char *nodename);
#endif
+void console_handle_input(evtchn_port_t port, struct pt_regs *regs, void *data);
#endif /* _LIB_CONSOLE_H_ */
console/console.h contains only a single prototype. Move that to include/console.h and remove console/console.h. Signed-off-by: Juergen Gross <jgross@suse.com> --- console/console.h | 2 -- console/xenbus.c | 2 +- console/xencons_ring.c | 2 +- include/console.h | 1 + 4 files changed, 3 insertions(+), 4 deletions(-) delete mode 100644 console/console.h