Ignore:
Timestamp:
2007-01-28T13:25:49Z (18 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8e8c1a5
Parents:
1ba41c5
Message:

huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/synch/semaphore.h

    r1ba41c5 rb3f8fb7  
    3737
    3838#include <arch/types.h>
    39 #include <typedefs.h>
    4039#include <synch/waitq.h>
    4140#include <synch/synch.h>
     
    4645
    4746#define semaphore_down(s) \
    48         _semaphore_down_timeout((s),SYNCH_NO_TIMEOUT,SYNCH_FLAGS_NONE)
     47        _semaphore_down_timeout((s), SYNCH_NO_TIMEOUT, SYNCH_FLAGS_NONE)
    4948#define semaphore_trydown(s) \
    50         _semaphore_down_timeout((s),SYNCH_NO_TIMEOUT,SYNCH_FLAGS_NON_BLOCKING) 
    51 #define semaphore_down_timeout(s,usec) \
    52         _semaphore_down_timeout((s),(usec),SYNCH_FLAGS_NONE)
     49        _semaphore_down_timeout((s), SYNCH_NO_TIMEOUT, SYNCH_FLAGS_NON_BLOCKING)       
     50#define semaphore_down_timeout(s, usec) \
     51        _semaphore_down_timeout((s), (usec), SYNCH_FLAGS_NONE)
    5352
    5453extern void semaphore_initialize(semaphore_t *s, int val);
Note: See TracChangeset for help on using the changeset viewer.