Ignore:
Timestamp:
2010-07-23T14:35:45Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
9034ba0
Parents:
938c305
Message:

This should mostly be a no-op, merging *loads* of whitespace changes from
libyahoo2 so that I can see better what really changed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/yahoo/yahoo_util.h

    r938c305 rc36f73b  
    6161# define y_renew(type, mem, n)  (type *)realloc(mem, n)
    6262
    63 void * y_memdup(const void * addr, int n);
    64 char ** y_strsplit(char * str, char * sep, int nelem);
    65 void y_strfreev(char ** vector);
     63void *y_memdup(const void *addr, int n);
     64char **y_strsplit(char *str, char *sep, int nelem);
     65void y_strfreev(char **vector);
    6666
    67 int strncasecmp(const char * s1, const char * s2, size_t n);
    68 int strcasecmp(const char * s1, const char * s2);
     67#ifndef _WIN32
     68int strncasecmp(const char *s1, const char *s2, size_t n);
     69int strcasecmp(const char *s1, const char *s2);
    6970
    70 char * strdup(const char *s);
     71char *strdup(const char *s);
    7172
    7273int snprintf(char *str, size_t size, const char *format, ...);
    7374int vsnprintf(char *str, size_t size, const char *format, va_list ap);
     75#endif
    7476
    7577#endif
     
    9597 * You must free it yourself
    9698 */
    97 char * y_string_append(char * str, char * append);
    98 char * y_str_to_utf8(const char * in);
    99 char * y_utf8_to_str(const char * in);
     99char *y_string_append(char *str, char *append);
     100char *y_str_to_utf8(const char *in);
     101char *y_utf8_to_str(const char *in);
    100102
    101103#endif
Note: See TracChangeset for help on using the changeset viewer.