Mercurial > mplayer.hg
comparison libvo/x11_common.c @ 22823:98eaf29b5dee
Code cleanup: don't include a .c file in mplayer.c and fix a few
"implicit declaration of function ¡Æmplayer_put_key¡Ç" warnings
Based on Attila's suggestions.
Approved by Uoti and Ivan.
author | rathann |
---|---|
date | Thu, 29 Mar 2007 17:16:11 +0000 |
parents | d8ffeda84296 |
children | 71b3e04d0555 |
comparison
equal
deleted
inserted
replaced
22822:79cac4f79e36 | 22823:98eaf29b5dee |
---|---|
4 #include <math.h> | 4 #include <math.h> |
5 #include <inttypes.h> | 5 #include <inttypes.h> |
6 | 6 |
7 #include "config.h" | 7 #include "config.h" |
8 #include "mp_msg.h" | 8 #include "mp_msg.h" |
9 #include "mp_fifo.h" | |
9 #include "x11_common.h" | 10 #include "x11_common.h" |
10 | 11 |
11 #ifdef X11_FULLSCREEN | 12 #ifdef X11_FULLSCREEN |
12 | 13 |
13 #include <string.h> | 14 #include <string.h> |
554 mDisplay = NULL; | 555 mDisplay = NULL; |
555 } | 556 } |
556 | 557 |
557 #include "osdep/keycodes.h" | 558 #include "osdep/keycodes.h" |
558 #include "wskeys.h" | 559 #include "wskeys.h" |
559 | |
560 extern void mplayer_put_key(int code); | |
561 | 560 |
562 #ifdef XF86XK_AudioPause | 561 #ifdef XF86XK_AudioPause |
563 static void vo_x11_putkey_ext(int keysym) | 562 static void vo_x11_putkey_ext(int keysym) |
564 { | 563 { |
565 switch (keysym) | 564 switch (keysym) |