Ignore:
Timestamp:
Oct 30, 2007, 7:16:07 PM (15 years ago)
Author:
charles
Message:

remove dirname() and basename() for now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/trcompat.h

    r3650 r3652  
    2929
    3030#ifndef HAVE_STRLCPY
    31 size_t
    32 strlcpy(char *dst, const char *src, size_t siz);
     31size_t strlcpy(char *dst, const char *src, size_t siz);
    3332#endif
    3433
    3534#ifndef HAVE_STRLCAT
    36 size_t
    37 strlcat(char *dst, const char *src, size_t siz);
     35size_t strlcat(char *dst, const char *src, size_t siz);
    3836#endif
    3937
     
    4341#endif
    4442
    45 #if defined(HAVE_DIRNAME) || defined(HAVE_BASENAME)
    46     #include <libgen.h>
    47 #endif
    48 #ifndef HAVE_DIRNAME
    49     char* dirname( char *path);
    50 #endif
    51 #ifndef HAVE_BASENAME
    52     char* basename( char *path );
    53 #endif
    54 
    5543#endif /* TRCOMPAT_H */
Note: See TracChangeset for help on using the changeset viewer.