Changeset 3652


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

remove dirname() and basename() for now

Location:
trunk/libtransmission
Files:
2 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/Makefile.am

    r3621 r3652  
    55
    66libtransmission_a_SOURCES = \
    7     basename.c \
    87    bencode.c \
    98    clients.c \
    109    completion.c \
    1110    crypto.c \
    12     dirname.c \
    1311    fastresume.c \
    1412    fdlimit.c \
  • 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.