From 39fdb451ba6ff84430507e327fa01a43f40b7315 Mon Sep 17 00:00:00 2001 From: Christophe CURIS Date: Sat, 21 Apr 2012 14:01:27 +0200 Subject: [PATCH] Fixed wrong structure declaration The declaration of the structure actually also created an unused variable. This variable was not used anywhere, and lead to symbol defined in multiple objects. These symbol are silently merged by GCC, thus no problem was reported. The issue was raised by Yves de Champlain when trying to compile with LLVM/clang which is a bit stricter there. --- WINGs/WINGs/WINGsP.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WINGs/WINGs/WINGsP.h b/WINGs/WINGs/WINGsP.h index a619a702..33aa87ad 100644 --- a/WINGs/WINGs/WINGsP.h +++ b/WINGs/WINGs/WINGsP.h @@ -122,7 +122,7 @@ typedef struct W_DragDestinationInfo { } W_DragDestinationInfo; -struct W_DraggingInfo { +typedef struct W_DraggingInfo { unsigned char protocolVersion; /* version supported on the other side */ Time timestamp;