VirtualBox

Changeset 10137

Show
Ignore:
Timestamp:
07/03/08 06:12:26 (6 months ago)
Author:
vboxsync
Message:

More warnings / bad string prototypes. (nocrt stuff)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/include/iprt/nocrt/string.h

    r8245 r10137  
    4545char *  RT_NOCRT(strncat)(char *pszDst, const char *pszSrc, size_t cch); 
    4646char *  RT_NOCRT(strchr)(const char *psz, int ch); 
    47 int     RT_NOCRT(strcmp)(char *psz1, const char *psz2); 
    48 int     RT_NOCRT(strncmp)(char *psz1, const char *psz2, size_t cch); 
    49 int     RT_NOCRT(stricmp)(char *psz1, const char *psz2); 
    50 int     RT_NOCRT(strnicmp)(char *psz1, const char *psz2, size_t cch); 
     47int     RT_NOCRT(strcmp)(const char *psz1, const char *psz2); 
     48int     RT_NOCRT(strncmp)(const char *psz1, const char *psz2, size_t cch); 
     49int     RT_NOCRT(stricmp)(const char *psz1, const char *psz2); 
     50int     RT_NOCRT(strnicmp)(const char *psz1, const char *psz2, size_t cch); 
    5151char *  RT_NOCRT(strcpy)(char *pszDst, const char *pszSrc); 
    5252char *  RT_NOCRT(strncpy)(char *pszDst, const char *pszSrc, size_t cch); 
  • trunk/src/VBox/Runtime/common/string/strlen_alias.c

    r9506 r10137  
    4242 
    4343/* No alias support here (yet in the ming case). */ 
    44 extern char *(strlen)(const char *psz) 
     44extern size_t (strlen)(const char *psz) 
    4545{ 
    4646    return RT_NOCRT(strlen)(psz); 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy