Commit 2fa6989d authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

Fix previous commit on gcc. (oops).

parent 1488ac13
......@@ -185,8 +185,10 @@
* Dictionaries
************************************************************************/
#ifdef __cplus_plus__
extern "C"
{
#endif
/* This function is not intended to be crypto-secure, we only want it to be
* fast and not suck too much. This one is pretty fast and did 0 collisions
* in wenglish's dictionary.
......@@ -321,8 +323,9 @@ vlc_dictionary_insert( vlc_dictionary_t * p_dict, const char * psz_key, void * p
p_dict->p_entries[i_new].psz_key = strdup( psz_key );
p_dict->p_entries[i_new].p_value = p_value;
}
#ifdef __cplus_plus__
} /* extern "C" */
#endif
/************************************************************************
* Dynamic arrays with progressive allocation
************************************************************************/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment