From: Michael R. <mr...@us...> - 2002-10-02 15:54:55
|
Update of /cvsroot/xine/xine-lib/src/input In directory usw-pr-cvs1:/tmp/cvs-serv29230/src/input Modified Files: mms.c Log Message: mark some global arrays that must never be changed (multiple plugin instances) as const Index: mms.c =================================================================== RCS file: /cvsroot/xine/xine-lib/src/input/mms.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- mms.c 6 Sep 2002 18:13:11 -0000 1.10 +++ mms.c 2 Oct 2002 15:54:51 -0000 1.11 @@ -517,9 +517,9 @@ } } -static char *mms_url_s[] = { "MMS://", "MMSU://", "MMST://", NULL }; +const static char *const mms_url_s[] = { "MMS://", "MMSU://", "MMST://", NULL }; -static int mms_valid_url (char* url, char** mms_url) { +static int mms_valid_url (char* url, const char *const * mms_url) { int i = 0; int len; |