Renamed the 'index' argument for PR_Get/SetThreadPrivate to 'tpdIndex'. This is because BSD systems have a funciton named 'index' in <string.h>, and if you compile with the -Wshadow flag, gcc warns that our declaration of `index' shadows global declaration. Thanks to Ben Laurie <ben@algroup.co.uk> for the problem report and the suggested workaround.
Renamed the 'index' argument for PR_Get/SetThreadPrivate to 'tpdIndex'.
This is because BSD systems have a funciton named 'index' in
<string.h>, and if you compile with the -Wshadow flag, gcc warns
that our declaration of `index' shadows global declaration.
Thanks to Ben Laurie <ben@algroup.co.uk> for the problem report
and the suggested workaround.

makotokato/nsprpub,makotokato/nsprpub,makotokato/nsprpub,makotokato/nsprpub,makotokato/nsprpub