summaryrefslogtreecommitdiffstats
path: root/libvo/x11_common.h
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-03-07 21:50:45 +0100
committerUoti Urpala <uau@mplayer2.org>2011-04-20 04:22:53 +0300
commit52743acba37451121d0820150694d13e2f660774 (patch)
treef9d924293f242bd969df4e19f3e5f56fc689d8e4 /libvo/x11_common.h
parentb17a1cf70c2666c0f8ea020c37350b178c62fc1a (diff)
downloadmpv-52743acba37451121d0820150694d13e2f660774.tar.bz2
mpv-52743acba37451121d0820150694d13e2f660774.tar.xz
cleanup: avoid various GCC warnings
Diffstat (limited to 'libvo/x11_common.h')
-rw-r--r--libvo/x11_common.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libvo/x11_common.h b/libvo/x11_common.h
index 32cffbb639..ba3d0e2617 100644
--- a/libvo/x11_common.h
+++ b/libvo/x11_common.h
@@ -130,8 +130,8 @@ int vo_x11_update_geometry(struct vo *vo, bool update_pos);
void vo_x11_setlayer(struct vo *vo, Window vo_window, int layer);
void vo_x11_uninit(struct vo *vo);
Colormap vo_x11_create_colormap(struct vo *vo, XVisualInfo *vinfo);
-uint32_t vo_x11_set_equalizer(struct vo *vo, char *name, int value);
-uint32_t vo_x11_get_equalizer(char *name, int *value);
+uint32_t vo_x11_set_equalizer(struct vo *vo, const char *name, int value);
+uint32_t vo_x11_get_equalizer(const char *name, int *value);
void fstype_help(void);
void vo_x11_create_vo_window(struct vo *vo, XVisualInfo *vis,
int x, int y, unsigned int width, unsigned int height, int flags,
@@ -145,8 +145,8 @@ void vo_x11_ewmh_fullscreen(struct vo_x11_state *x11, int action);
#endif
-int vo_xv_set_eq(struct vo *vo, uint32_t xv_port, char * name, int value);
-int vo_xv_get_eq(struct vo *vo, uint32_t xv_port, char * name, int *value);
+int vo_xv_set_eq(struct vo *vo, uint32_t xv_port, const char *name, int value);
+int vo_xv_get_eq(struct vo *vo, uint32_t xv_port, const char *name, int *value);
int vo_xv_enable_vsync(struct vo *vo);