diff options
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/mga_common.c | 2 | ||||
-rw-r--r-- | libvo/vo_caca.c | 2 | ||||
-rw-r--r-- | libvo/vo_directx.c | 12 | ||||
-rw-r--r-- | libvo/vo_dxr2.c | 2 | ||||
-rw-r--r-- | libvo/vo_quartz.c | 16 | ||||
-rw-r--r-- | libvo/vo_tdfxfb.c | 2 |
6 files changed, 18 insertions, 18 deletions
diff --git a/libvo/mga_common.c b/libvo/mga_common.c index 69c8f6322d..6981123eb8 100644 --- a/libvo/mga_common.c +++ b/libvo/mga_common.c @@ -454,7 +454,7 @@ static int mga_init(int width,int height,unsigned int format){ return 0; } -static int mga_uninit(){ +static int mga_uninit(void){ if(f>=0){ ioctl( f,MGA_VID_OFF,0 ); munmap(frames[0],mga_vid_config.frame_size*mga_vid_config.num_frames); diff --git a/libvo/vo_caca.c b/libvo/vo_caca.c index 36ceb03762..9181eed7de 100644 --- a/libvo/vo_caca.c +++ b/libvo/vo_caca.c @@ -140,7 +140,7 @@ static void osdpercent(int duration, int min, int max, int val, const char *desc posbar[screen_w] = '\0'; } -static int resize () +static int resize(void) { screen_w = caca_get_width(); screen_h = caca_get_height(); diff --git a/libvo/vo_directx.c b/libvo/vo_directx.c index 224af242c2..22ac04a9e5 100644 --- a/libvo/vo_directx.c +++ b/libvo/vo_directx.c @@ -200,7 +200,7 @@ query_format(uint32_t format) return 0; } -static uint32_t Directx_CreatePrimarySurface() +static uint32_t Directx_CreatePrimarySurface(void) { DDSURFACEDESC2 ddsd; //cleanup @@ -310,7 +310,7 @@ static uint32_t Directx_CreateOverlay(uint32_t imgfmt) return 0; } -static uint32_t Directx_CreateBackpuffer() +static uint32_t Directx_CreateBackpuffer(void) { DDSURFACEDESC2 ddsd; //cleanup @@ -416,7 +416,7 @@ static BOOL WINAPI EnumCallbackEx(GUID FAR *lpGUID, LPSTR lpDriverDescription, L return 1; // list all adapters } -static uint32_t Directx_InitDirectDraw() +static uint32_t Directx_InitDirectDraw(void) { HRESULT (WINAPI *OurDirectDrawCreateEx)(GUID *,LPVOID *, REFIID,IUnknown FAR *); DDSURFACEDESC2 ddsd; @@ -533,7 +533,7 @@ static void check_events(void) } } -static uint32_t Directx_ManageDisplay() +static uint32_t Directx_ManageDisplay(void) { HRESULT ddrval; DDCAPS capsDrv; @@ -763,7 +763,7 @@ static uint32_t Directx_ManageDisplay() } //find out supported overlay pixelformats -static uint32_t Directx_CheckOverlayPixelformats() +static uint32_t Directx_CheckOverlayPixelformats(void) { DDCAPS capsDrv; HRESULT ddrval; @@ -824,7 +824,7 @@ static uint32_t Directx_CheckOverlayPixelformats() } //find out the Pixelformat of the Primary Surface -static uint32_t Directx_CheckPrimaryPixelformat() +static uint32_t Directx_CheckPrimaryPixelformat(void) { uint32_t i=0; uint32_t formatcount = 0; diff --git a/libvo/vo_dxr2.c b/libvo/vo_dxr2.c index 0bf64f58d6..efb07c1b6c 100644 --- a/libvo/vo_dxr2.c +++ b/libvo/vo_dxr2.c @@ -203,7 +203,7 @@ int write_dxr2(const unsigned char *data, int len) return w; } -static void flush_dxr2() +static void flush_dxr2(void) { int w; while (dxr2bufpos) { diff --git a/libvo/vo_quartz.c b/libvo/vo_quartz.c index edc99ab445..f7a730a14d 100644 --- a/libvo/vo_quartz.c +++ b/libvo/vo_quartz.c @@ -151,10 +151,10 @@ enum static OSStatus KeyEventHandler(EventHandlerCallRef nextHandler, EventRef event, void *userData); static OSStatus MouseEventHandler(EventHandlerCallRef nextHandler, EventRef event, void *userData); static OSStatus WindowEventHandler(EventHandlerCallRef nextHandler, EventRef event, void *userData); -void window_resized(); -void window_ontop(); -void window_fullscreen(); -void window_panscan(); +void window_resized(void); +void window_ontop(void); +void window_fullscreen(void); +void window_panscan(void); static inline int convert_key(UInt32 key, UInt32 charcode) { @@ -1315,7 +1315,7 @@ static int control(uint32_t request, void *data, ...) return VO_NOTIMPL; } -void window_resized() +void window_resized(void) { float aspectX; float aspectY; @@ -1396,7 +1396,7 @@ void window_resized() QDEndCGContext(GetWindowPort(theWindow), &context); } -void window_ontop() +void window_ontop(void) { if (!vo_quartz_fs) { @@ -1408,7 +1408,7 @@ void window_ontop() SetWindowGroupLevel(winGroup, CGWindowLevelForKey(levelList[winLevel])); } -void window_fullscreen() +void window_fullscreen(void) { // go fullscreen if (vo_fs) @@ -1493,7 +1493,7 @@ void window_fullscreen() window_resized(); } -void window_panscan() +void window_panscan(void) { panscan_calc(); diff --git a/libvo/vo_tdfxfb.c b/libvo/vo_tdfxfb.c index 1b63147817..03f0513076 100644 --- a/libvo/vo_tdfxfb.c +++ b/libvo/vo_tdfxfb.c @@ -202,7 +202,7 @@ static void uninit(void) } } -static void clear_screen() +static void clear_screen(void) { /* There needs to be some sort of delay here or else things seriously * screw up. Causes the image to not be the right size on screen if |