Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 5c45ca8 in mainline


Ignore:
Timestamp:
2010-04-18T17:39:51Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial
Children:
7d42cc9
Parents:
dec16a2
Message:

declare user space "bool" type as "uint8_t" (to be compliant with the kernel ABI)

File:
1 edited

Legend:

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

    rdec16a2 r5c45ca8  
    3636#define LIBC_BOOL_H_
    3737
    38 #define false 0
    39 #define true 1
     38#include <libarch/types.h>
    4039
    41 typedef short bool;
     40#define false  0
     41#define true   1
     42
     43typedef uint8_t bool;
    4244
    4345#endif
Note: See TracChangeset for help on using the changeset viewer.