Changeset db24058 in mainline for uspace/lib/libc/include/stdlib.h


Ignore:
Timestamp:
2009-06-30T15:53:15Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2d11a7d8
Parents:
6db6fd1
Message:

small fixes and coding style changes related to the new memory allocator

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/include/stdlib.h

    r6db6fd1 rdb24058  
    3939#include <malloc.h>
    4040
    41 #define abort() _exit(1)
    42 #define exit(status)    _exit((status))
     41#define abort()       _exit(1)
     42#define exit(status)  _exit((status))
    4343
    44 #define RAND_MAX 714025
     44#define RAND_MAX  714025
    4545
    4646extern long int random(void);
     
    5151        return random();
    5252}
     53
    5354static inline void srand(unsigned int seed)
    5455{
Note: See TracChangeset for help on using the changeset viewer.