freerdp: fix build warnings

This commit is contained in:
Marc-André Moreau 2014-08-18 17:25:48 -04:00
parent 1a8c763309
commit a2f0e93770
2 changed files with 6 additions and 8 deletions

View File

@ -38,6 +38,8 @@ static int encomsp_read_header(wStream* s, ENCOMSP_ORDER_HEADER* header)
return 1; return 1;
} }
#if 0
static int encomsp_write_header(wStream* s, ENCOMSP_ORDER_HEADER* header) static int encomsp_write_header(wStream* s, ENCOMSP_ORDER_HEADER* header)
{ {
Stream_Write_UINT16(s, header->Type); /* Type (2 bytes) */ Stream_Write_UINT16(s, header->Type); /* Type (2 bytes) */
@ -66,6 +68,8 @@ static int encomsp_read_unicode_string(wStream* s, ENCOMSP_UNICODE_STRING* str)
return 1; return 1;
} }
#endif
static int encomsp_recv_change_participant_control_level_pdu(EncomspServerContext* context, wStream* s, ENCOMSP_ORDER_HEADER* header) static int encomsp_recv_change_participant_control_level_pdu(EncomspServerContext* context, wStream* s, ENCOMSP_ORDER_HEADER* header)
{ {
int beg, end; int beg, end;

View File

@ -21,6 +21,8 @@
#ifndef FREERDP_RAIL_GLOBAL_H #ifndef FREERDP_RAIL_GLOBAL_H
#define FREERDP_RAIL_GLOBAL_H #define FREERDP_RAIL_GLOBAL_H
#include <winpr/wnd.h>
#include <freerdp/types.h> #include <freerdp/types.h>
/* RAIL PDU flags */ /* RAIL PDU flags */
@ -93,14 +95,6 @@ enum SPI_MASK
/* Client Notify Event PDU */ /* Client Notify Event PDU */
#ifndef _WIN32 #ifndef _WIN32
#define WM_LBUTTONDOWN 0x00000201
#define WM_LBUTTONUP 0x00000202
#define WM_RBUTTONDOWN 0x00000204
#define WM_RBUTTONUP 0x00000205
#define WM_CONTEXTMENU 0x0000007B
#define WM_LBUTTONDBLCLK 0x00000203
#define WM_RBUTTONDBLCLK 0x00000206
#define NIN_SELECT 0x00000400 #define NIN_SELECT 0x00000400
#define NIN_KEYSELECT 0x00000401 #define NIN_KEYSELECT 0x00000401
#define NIN_BALLOONSHOW 0x00000402 #define NIN_BALLOONSHOW 0x00000402