summaryrefslogtreecommitdiffstats
path: root/libvo/x11_common.h
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-11-15 17:48:27 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-11-15 17:48:27 +0000
commit8b0b5bee7791abaece30c1fa456d3380e6b0877d (patch)
tree31fd008e36158ed1498c7fdbd5eb02e081e445bb /libvo/x11_common.h
parent87bee02b191b7400532ff40c21da8dd43c15d289 (diff)
downloadmpv-8b0b5bee7791abaece30c1fa456d3380e6b0877d.tar.bz2
mpv-8b0b5bee7791abaece30c1fa456d3380e6b0877d.tar.xz
Cosmetics: remove useless "extern"
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27920 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/x11_common.h')
-rw-r--r--libvo/x11_common.h66
1 files changed, 33 insertions, 33 deletions
diff --git a/libvo/x11_common.h b/libvo/x11_common.h
index b004f21820..11bf755d15 100644
--- a/libvo/x11_common.h
+++ b/libvo/x11_common.h
@@ -40,36 +40,36 @@ extern int mLocalDisplay;
extern int vo_mouse_autohide;
-extern int vo_init( void );
-extern void vo_uninit( void );
-extern void vo_hidecursor ( Display* , Window );
-extern void vo_showcursor( Display *disp, Window win );
-extern void vo_x11_decoration( Display * vo_Display,Window w,int d );
-extern void vo_x11_classhint( Display * display,Window window,char *name );
-extern void vo_x11_nofs_sizepos(int x, int y, int width, int height);
-extern void vo_x11_sizehint( int x, int y, int width, int height, int max );
-extern int vo_x11_check_events(Display *mydisplay);
-extern void vo_x11_selectinput_witherr(Display *display, Window w, long event_mask);
+int vo_init( void );
+void vo_uninit( void );
+void vo_hidecursor ( Display* , Window );
+void vo_showcursor( Display *disp, Window win );
+void vo_x11_decoration( Display * vo_Display,Window w,int d );
+void vo_x11_classhint( Display * display,Window window,char *name );
+void vo_x11_nofs_sizepos(int x, int y, int width, int height);
+void vo_x11_sizehint( int x, int y, int width, int height, int max );
+int vo_x11_check_events(Display *mydisplay);
+void vo_x11_selectinput_witherr(Display *display, Window w, long event_mask);
int vo_x11_update_geometry(void);
-extern void vo_x11_fullscreen( void );
-extern void vo_x11_setlayer( Display * mDisplay,Window vo_window,int layer );
-extern void vo_x11_uninit(void);
-extern Colormap vo_x11_create_colormap(XVisualInfo *vinfo);
-extern uint32_t vo_x11_set_equalizer(char *name, int value);
-extern uint32_t vo_x11_get_equalizer(char *name, int *value);
-extern void fstype_help(void);
-extern Window vo_x11_create_smooth_window( Display *mDisplay, Window mRoot,
+void vo_x11_fullscreen( void );
+void vo_x11_setlayer( Display * mDisplay,Window vo_window,int layer );
+void vo_x11_uninit(void);
+Colormap vo_x11_create_colormap(XVisualInfo *vinfo);
+uint32_t vo_x11_set_equalizer(char *name, int value);
+uint32_t vo_x11_get_equalizer(char *name, int *value);
+void fstype_help(void);
+Window vo_x11_create_smooth_window( Display *mDisplay, Window mRoot,
Visual *vis, int x, int y, unsigned int width, unsigned int height,
int depth, Colormap col_map);
-extern void vo_x11_create_vo_window(XVisualInfo *vis, int x, int y,
+void vo_x11_create_vo_window(XVisualInfo *vis, int x, int y,
unsigned int width, unsigned int height, int flags,
Colormap col_map, const char *classname, const char *title);
-extern void vo_x11_clearwindow_part(Display *mDisplay, Window vo_window,
+void vo_x11_clearwindow_part(Display *mDisplay, Window vo_window,
int img_width, int img_height, int use_fs);
-extern void vo_x11_clearwindow( Display *mDisplay, Window vo_window );
-extern void vo_x11_ontop(void);
-extern void vo_x11_border(void);
-extern void vo_x11_ewmh_fullscreen( int action );
+void vo_x11_clearwindow( Display *mDisplay, Window vo_window );
+void vo_x11_ontop(void);
+void vo_x11_border(void);
+void vo_x11_ewmh_fullscreen( int action );
#endif
@@ -81,12 +81,12 @@ extern XSizeHints vo_hint;
//XvPortID xv_port;
extern unsigned int xv_port;
-extern int vo_xv_set_eq(uint32_t xv_port, char * name, int value);
-extern int vo_xv_get_eq(uint32_t xv_port, char * name, int *value);
+int vo_xv_set_eq(uint32_t xv_port, char * name, int value);
+int vo_xv_get_eq(uint32_t xv_port, char * name, int *value);
-extern int vo_xv_enable_vsync(void);
+int vo_xv_enable_vsync(void);
-extern void vo_xv_get_max_img_dim( uint32_t * width, uint32_t * height );
+void vo_xv_get_max_img_dim( uint32_t * width, uint32_t * height );
/*** colorkey handling ***/
typedef struct xv_ck_info_s
@@ -106,17 +106,17 @@ typedef struct xv_ck_info_s
extern xv_ck_info_t xv_ck_info;
extern unsigned long xv_colorkey;
-extern int vo_xv_init_colorkey(void);
-extern void vo_xv_draw_colorkey(int32_t x, int32_t y, int32_t w, int32_t h);
-extern void xv_setup_colorkeyhandling(char const * ck_method_str, char const * ck_str);
+int vo_xv_init_colorkey(void);
+void vo_xv_draw_colorkey(int32_t x, int32_t y, int32_t w, int32_t h);
+void xv_setup_colorkeyhandling(char const * ck_method_str, char const * ck_str);
/*** test functions for common suboptions ***/
int xv_test_ck( void * arg );
int xv_test_ckm( void * arg );
#endif
- extern void vo_setwindow( Window w,GC g );
- extern void vo_x11_putkey(int key);
+void vo_setwindow( Window w,GC g );
+void vo_x11_putkey(int key);
void saver_off( Display * );
void saver_on( Display * );