1
0
Fork 0
mirror of git://git.psyc.eu/libpsyc synced 2024-08-15 03:19:02 +00:00

declaration of 'strlen' shadows a global declaration

This commit is contained in:
psyc://psyced.org/~lynX 2011-05-23 19:13:51 +02:00
parent 8ccf28f86f
commit dba9730991
2 changed files with 4 additions and 3 deletions

View file

@ -108,9 +108,9 @@ typedef struct
* @return An instance of the psycString struct.
*/
static inline
psycString psyc_newString (const char *str, size_t strlen)
psycString psyc_newString (const char *str, size_t slen)
{
psycString s = {strlen, str};
psycString s = {slen, str};
return s;
}