diff options
author | reynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-15 16:03:12 +0000 |
---|---|---|
committer | reynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-15 16:03:12 +0000 |
commit | 58ed2c3fe035313bfc7feca7fd18abb84fa4fad1 (patch) | |
tree | 75a071a62db73e1bfb50be8ae3caa0a8054f2ea2 /subopt-helper.h | |
parent | 9dd64b49e89cefd2158e8a5bb25798bd72ac2575 (diff) | |
download | mpv-58ed2c3fe035313bfc7feca7fd18abb84fa4fad1.tar.bz2 mpv-58ed2c3fe035313bfc7feca7fd18abb84fa4fad1.tar.xz |
marks several read-only string parameters which aren't modified inside the called function as const. Patch by Stefan Huehner, stefan AT huehner-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19109 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'subopt-helper.h')
-rw-r--r-- | subopt-helper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subopt-helper.h b/subopt-helper.h index 29e7461b9c..dad3e4d0e5 100644 --- a/subopt-helper.h +++ b/subopt-helper.h @@ -44,7 +44,7 @@ typedef struct strarg_s int int_non_neg( int * i ); int int_pos( int * i ); -int strargcmp(strarg_t *arg, char *str); +int strargcmp(strarg_t *arg, const char *str); int strargcasecmp(strarg_t *arg, char *str); #endif |