Changeset 10676


Ignore:
Timestamp:
May 22, 2010, 12:09:36 AM (12 years ago)
Author:
charles
Message:

(trunk libT) make tr_pwrite()'s "buf" argument const

Location:
trunk/libtransmission
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/fdlimit.c

    r10670 r10676  
    219219
    220220ssize_t
    221 tr_pwrite( int fd, void *buf, size_t count, off_t offset )
     221tr_pwrite( int fd, const void *buf, size_t count, off_t offset )
    222222{
    223223#ifdef HAVE_PWRITE
  • trunk/libtransmission/fdlimit.h

    r10670 r10676  
    4141int64_t tr_lseek( int fd, int64_t offset, int whence );
    4242ssize_t tr_pread(int fd, void *buf, size_t count, off_t offset);
    43 ssize_t tr_pwrite(int fd, void *buf, size_t count, off_t offset);
     43ssize_t tr_pwrite(int fd, const void *buf, size_t count, off_t offset);
    4444int tr_prefetch(int fd, off_t offset, size_t count);
    4545
Note: See TracChangeset for help on using the changeset viewer.