diff m_struct.h @ 30695:a26f6577d338

Make more option-parsing related function arguments const. Prerequisite for making stream_open filename const in a proper way.
author reimar
date Thu, 25 Feb 2010 22:32:28 +0000
parents c1a3f1bbba26
children 08a90b0e44e1
line wrap: on
line diff
--- a/m_struct.h	Thu Feb 25 22:29:00 2010 +0000
+++ b/m_struct.h	Thu Feb 25 22:32:28 2010 +0000
@@ -88,7 +88,7 @@
  *  \return 0 on error, 1 on success.
  */
 int
-m_struct_set(const m_struct_t* st, void* obj, char* field, char* param);
+m_struct_set(const m_struct_t* st, void* obj, const char* field, const char* param);
 
 /// Reset a field (or all if field == NULL) to defaults.
 /** \param st Struct definition.