diff options
author | reynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-27 17:35:06 +0000 |
---|---|---|
committer | reynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-27 17:35:06 +0000 |
commit | db5487225c3c410a671c242b1eccaf7877dbee74 (patch) | |
tree | 6fa2e6e877b48b4d0e9206afc550c024e3dbd11f /m_struct.h | |
parent | b4196c01c7c330627fd9de34dec3a167f9a2dc28 (diff) | |
download | mpv-db5487225c3c410a671c242b1eccaf7877dbee74.tar.bz2 mpv-db5487225c3c410a671c242b1eccaf7877dbee74.tar.xz |
marks some read-only char* inside structs as const, patch by Stefan Huehner, stefan At huehner-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19199 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'm_struct.h')
-rw-r--r-- | m_struct.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m_struct.h b/m_struct.h index 2f7f16dffa..e97659a333 100644 --- a/m_struct.h +++ b/m_struct.h @@ -13,7 +13,7 @@ struct m_option; /// Struct definition typedef struct m_struct_st { /// For error messages and debugging - char* name; + const char* name; /// size of the whole struct unsigned int size; /// Pointer to a struct filled with the default settings |