Ignore:
Timestamp:
Nov 5, 2014, 1:23:12 AM (5 years ago)
Author:
Sam Hocevar
Message:

build: fix a few compilation warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/src/common/fd.c

    r4884 r4885  
    7373static volatile int fd_spinlock = 0;
    7474
    75 static void fd_lock()
     75static void fd_lock(void)
    7676{
    7777    while (__sync_lock_test_and_set(&fd_spinlock, 1))
     
    7979}
    8080
    81 static void fd_unlock()
     81static void fd_unlock(void)
    8282{
    8383    __sync_synchronize();
Note: See TracChangeset for help on using the changeset viewer.