Changeset 11821


Ignore:
Timestamp:
Feb 3, 2011, 6:19:54 AM (11 years ago)
Author:
jordan
Message:

(trunk libT) now that bencode.c doesn't call stat() anymore, we can remove a couple of #includes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/bencode.c

    r11819 r11821  
    1515#include <errno.h>
    1616#include <math.h> /* fabs() */
    17 #include <stdio.h>
    18 #include <stdlib.h> /* realpath() */
     17#include <stdio.h> /* rename() */
    1918#include <string.h>
    2019
     
    2524#endif
    2625
    27 #include <sys/types.h> /* stat() */
    28 #include <sys/stat.h> /* stat() */
    29 #include <locale.h>
    30 #include <unistd.h> /* stat() */
     26#include <locale.h> /* setlocale() */
     27#include <unistd.h> /* write(), unlink() */
    3128
    3229#include <event2/buffer.h>
Note: See TracChangeset for help on using the changeset viewer.