VirtualBox

Ignore:
Timestamp:
Nov 27, 2023 3:00:21 PM (14 months ago)
Author:
vboxsync
Message:

libs/xpcom: Replace PL_strlen with strlen and get rid of it, bugref:10545

Location:
trunk/src/libs/xpcom18a4/nsprpub/lib/libc
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/nsprpub/lib/libc/include/plstr.h

    r102175 r102323  
    6363
    6464#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
    65 #define PL_strlen VBoxNsplPL_strlen
    6665#define PL_strcmp VBoxNsplPL_strcmp
    6766#define PL_strncmp VBoxNsplPL_strncmp
     
    7574#define PL_strcasestr VBoxNsplPL_strcasestr
    7675#define PL_strndup VBoxNsplPL_strndup
    77 #define PL_strnlen VBoxNsplPL_strnlen
    7876#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
    7977
    8078PR_BEGIN_EXTERN_C
    81 /*
    82  * PL_strlen
    83  *
    84  * Returns the length of the provided string, not including the trailing '\0'.
    85  */
    86 
    87 PR_EXTERN(PRUint32)
    88 PL_strlen(const char *str);
    89 
    90 /*
    91  * PL_strnlen
    92  *
    93  * Returns the length of the provided string, not including the trailing '\0',
    94  * up to the indicated maximum.  The string will not be examined beyond the
    95  * maximum; if no terminating '\0' is found, the maximum will be returned.
    96  */
    97 
    98 PR_EXTERN(PRUint32)
    99 PL_strnlen(const char *str, PRUint32 max);
    100 
    10179/*
    10280 * PL_strncpy
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette