From 26bc6b48313dd0470a3998dace217148fc314271 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 10 Oct 2014 13:44:08 +0200 Subject: Add some missing "const"s The one in msg.c was mistakenly removed with commit e99a37f6. I didn't actually test the change in ao_sndio.c (but obviously "ap" shouldn't be static). --- sub/osd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sub/osd.h') diff --git a/sub/osd.h b/sub/osd.h index 2662e2b67f..e1da9bccd2 100644 --- a/sub/osd.h +++ b/sub/osd.h @@ -219,8 +219,8 @@ void osd_destroy_backend(struct osd_state *osd); // doesn't need locking void osd_get_function_sym(char *buffer, size_t buffer_size, int osd_function); -extern const char *osd_ass_0; -extern const char *osd_ass_1; +extern const char *const osd_ass_0; +extern const char *const osd_ass_1; // defined in backend, but locks if required void osd_object_get_resolution(struct osd_state *osd, int obj, -- cgit v1.2.3