Changeset 878e181 in mainline for uspace/lib/c/include


Ignore:
Timestamp:
2013-03-12T07:30:11Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b92a0ee
Parents:
7f25c4e (diff), 623bab8f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes

Location:
uspace/lib/c/include
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/async.h

    r7f25c4e r878e181  
    156156extern void async_set_client_connection(async_client_conn_t);
    157157extern void async_set_interrupt_received(async_interrupt_handler_t);
     158extern void async_set_interrupt_handler_stack_size(size_t);
    158159
    159160/*
  • uspace/lib/c/include/fibril.h

    r7f25c4e r878e181  
    8686extern void context_restore(context_t *ctx) __attribute__((noreturn));
    8787
    88 extern fid_t fibril_create(int (*func)(void *), void *arg);
     88#define fibril_create(func, arg) \
     89        fibril_create_generic((func), (arg), (size_t) -1)
     90extern fid_t fibril_create_generic(int (*func)(void *), void *arg, size_t);
    8991extern void fibril_destroy(fid_t fid);
    9092extern fibril_t *fibril_setup(void);
  • uspace/lib/c/include/macros.h

    r7f25c4e r878e181  
    3838#define min(a, b)  ((a) < (b) ? (a) : (b))
    3939#define max(a, b)  ((a) > (b) ? (a) : (b))
    40 #define abs(a)     ((a) >= 0 ? (a) : (-a))
     40#define abs(a)     ((a) >= 0 ? (a) : -(a))
    4141
    4242
Note: See TracChangeset for help on using the changeset viewer.