xfreerdp: fix compile warnings.

This commit is contained in:
Vic Lee 2011-08-11 15:37:46 +08:00
parent b4282cfeb0
commit 8b791de624
3 changed files with 2 additions and 4 deletions

View File

@ -31,5 +31,6 @@ int xf_kbd_read_keyboard_state(xfInfo* xfi);
boolean xf_kbd_get_key_state(xfInfo* xfi, int state, int keysym);
int xf_kbd_get_toggle_keys_state(xfInfo* xfi);
void xf_kbd_focus_in(xfInfo* xfi);
boolean xf_kbd_handle_special_keys(xfInfo* xfi, KeySym keysym);
#endif /* __XF_KEYBOARD_H */

View File

@ -58,7 +58,6 @@ void xf_end_paint(rdpUpdate* update)
xfInfo* xfi;
sint32 x, y;
uint32 w, h;
XImage* image;
gdi = GET_GDI(update);
xfi = GET_XFI(update);
@ -245,13 +244,10 @@ boolean xf_post_connect(freerdp* instance)
{
GDI* gdi;
xfInfo* xfi;
int input_mask;
XEvent xevent;
XGCValues gcv;
Atom kill_atom;
Atom protocol_atom;
XSizeHints *size_hints;
XClassHint *class_hints;
xfi = GET_XFI(instance);
SET_XFI(instance->update, xfi);

View File

@ -22,6 +22,7 @@
#include "gdi.h"
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <freerdp/freerdp.h>
#include <freerdp/chanman.h>