From d0353bbe57aab910a6ef7da8778023a9d39c37df Mon Sep 17 00:00:00 2001 From: Jon TURNEY Date: Thu, 20 Jun 2013 00:04:16 +0100 Subject: [PATCH] hw/xwin: Move WIN_MSG_QUEUE_FNAME to where it's used Signed-off-by: Jon TURNEY Reviewed-by: Colin Harrison --- hw/xwin/winclipboard/internal.h | 5 ----- hw/xwin/winclipboard/thread.c | 3 +++ 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/hw/xwin/winclipboard/internal.h b/hw/xwin/winclipboard/internal.h index e51712319..34563e170 100644 --- a/hw/xwin/winclipboard/internal.h +++ b/hw/xwin/winclipboard/internal.h @@ -38,13 +38,8 @@ /* Windows headers */ #include -/* Clipboard module constants */ -#ifdef HAS_DEVWINDOWS -#define WIN_MSG_QUEUE_FNAME "/dev/windows" -#endif #define WIN_JMP_OKAY 0 #define WIN_JMP_ERROR_IO 2 - #define WIN_XEVENTS_SUCCESS 0 #define WIN_XEVENTS_CONVERT 2 #define WIN_XEVENTS_NOTIFY 3 diff --git a/hw/xwin/winclipboard/thread.c b/hw/xwin/winclipboard/thread.c index 289bbb333..72d56d5e1 100644 --- a/hw/xwin/winclipboard/thread.c +++ b/hw/xwin/winclipboard/thread.c @@ -59,6 +59,9 @@ #define WIN_CLIPBOARD_WINDOW_CLASS "xwinclip" #define WIN_CLIPBOARD_WINDOW_TITLE "xwinclip" +#ifdef HAS_DEVWINDOWS +#define WIN_MSG_QUEUE_FNAME "/dev/windows" +#endif /* * Global variables