Ignore:
Timestamp:
Oct 13, 2008, 10:26:02 PM (13 years ago)
Author:
charles
Message:

first batch of portability changes based on spry's winport:
(1) added tr_getcwd(), a simple portability wrapper for getcwd()
(2) cli: show the help page if no command-line arguments are provided
(3) daemon: use tr_wait() intead of sleep()
(4) daemon: SIGQUIT, SIGPIPE, SIGHUP aren't defined on windows
(5) libtransmission: a couple of small cleanups to bencode.c, list.c, web.c
(6) libtransmission: win32 portability fixes to platform.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/list.c

    r6795 r6892  
    7979
    8080void
    81 tr_list_insert_sorted( tr_list ** list,
    82                        void *    data,
    83                         int          compare(const void*, const void*) )
     81tr_list_insert_sorted( tr_list            ** list,
     82                       void                * data,
     83                       TrListCompareFunc     compare )
    8484{
    8585    /* find l, the node that we'll insert this data before */
Note: See TracChangeset for help on using the changeset viewer.