diff options
author | uau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-04-01 21:59:54 +0000 |
---|---|---|
committer | uau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-04-01 21:59:54 +0000 |
commit | 208d4343ef9689e3b7e3e4ce81cae9987560d7fe (patch) | |
tree | e05c309e46d8d78d61fdcf985255e893d5d2554f /libvo | |
parent | c40c5b480f10490f1529eb0550c42536c7943bcf (diff) | |
download | mpv-208d4343ef9689e3b7e3e4ce81cae9987560d7fe.tar.bz2 mpv-208d4343ef9689e3b7e3e4ce81cae9987560d7fe.tar.xz |
"()" to "(void)" function param list fixes
patch from Stefan Huehner, stefan huehner org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22904 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/vo_directfb2.c | 2 | ||||
-rw-r--r-- | libvo/vo_svga.c | 2 | ||||
-rw-r--r-- | libvo/vo_x11.c | 2 | ||||
-rw-r--r-- | libvo/x11_common.c | 6 | ||||
-rw-r--r-- | libvo/x11_common.h | 4 |
5 files changed, 8 insertions, 8 deletions
diff --git a/libvo/vo_directfb2.c b/libvo/vo_directfb2.c index 376a011d1e..15e56a886a 100644 --- a/libvo/vo_directfb2.c +++ b/libvo/vo_directfb2.c @@ -139,7 +139,7 @@ static int field_parity = -1; * implementation * ******************************/ -void unlock() { +void unlock(void) { if (frame && framelocked) frame->Unlock(frame); if (primary && primarylocked) primary->Unlock(primary); } diff --git a/libvo/vo_svga.c b/libvo/vo_svga.c index affdaf1e36..acd2a104f6 100644 --- a/libvo/vo_svga.c +++ b/libvo/vo_svga.c @@ -109,7 +109,7 @@ LIBVO_EXTERN(svga) //return number of 1'st free page or -1 if no free one -static inline int page_find_free(){ +static inline int page_find_free(void){ int i; for(i=0;i<max_pages;i++) if(PageStore[i].locks == PAGE_EMPTY) return i; diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c index f94d5c9c30..05b6efc7e6 100644 --- a/libvo/vo_x11.c +++ b/libvo/vo_x11.c @@ -93,7 +93,7 @@ static int aspect; // 1<<16 based fixed point aspect, so that the a static int old_vo_dwidth = -1; static int old_vo_dheight = -1; -static void check_events() +static void check_events(void) { int ret = vo_x11_check_events(mDisplay); diff --git a/libvo/x11_common.c b/libvo/x11_common.c index 42f1bfd143..29f0e3bf58 100644 --- a/libvo/x11_common.c +++ b/libvo/x11_common.c @@ -2287,7 +2287,7 @@ static Atom xv_intern_atom_if_exists( char const * atom_name ) * \brief Try to enable vsync for xv. * \return Returns -1 if not available, 0 on failure and 1 on success. */ -int vo_xv_enable_vsync() +int vo_xv_enable_vsync(void) { Atom xv_atom = xv_intern_atom_if_exists("XV_SYNC_TO_VBLANK"); if (xv_atom == None) @@ -2343,7 +2343,7 @@ void vo_xv_get_max_img_dim( uint32_t * width, uint32_t * height ) * Outputs the content of |ck_handling| as a readable message. * */ -void vo_xv_print_ck_info() +void vo_xv_print_ck_info(void) { mp_msg( MSGT_VO, MSGL_V, "[xv common] " ); @@ -2411,7 +2411,7 @@ void vo_xv_print_ck_info() * NOTE: If vo_colorkey has bits set after the first 3 low order bytes * we don't draw anything as this means it was forced to off. */ -int vo_xv_init_colorkey() +int vo_xv_init_colorkey(void) { Atom xv_atom; int rez; diff --git a/libvo/x11_common.h b/libvo/x11_common.h index 2e9e575486..4bae3b0768 100644 --- a/libvo/x11_common.h +++ b/libvo/x11_common.h @@ -74,7 +74,7 @@ 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); -extern int vo_xv_enable_vsync(); +extern int vo_xv_enable_vsync(void); extern void vo_xv_get_max_img_dim( uint32_t * width, uint32_t * height ); @@ -96,7 +96,7 @@ 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(); +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); |