From 1a16cbfec37875026b9ddb2839698d0d150b05cd Mon Sep 17 00:00:00 2001 From: reynaldo Date: Thu, 13 Jul 2006 05:03:43 +0000 Subject: marks several string parameters as const, as they are not modified inside the function, Patch by Stefan Huehner, stefan AT huehner-org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19058 b3059339-0415-0410-9bf9-f77b7e298cf2 --- m_option.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'm_option.h') diff --git a/m_option.h b/m_option.h index f535107132..82f67cd3ad 100644 --- a/m_option.h +++ b/m_option.h @@ -439,7 +439,7 @@ struct m_option { * \param name Name of the option. * \return The matching option or NULL. */ -m_option_t* m_option_list_find(m_option_t* list,char* name); +m_option_t* m_option_list_find(m_option_t* list,const char* name); /// Helper to parse options, see \ref m_option_type::parse. inline static int -- cgit v1.2.3