Changeset 3f7fe9e in mainline for abi/include/_bits/all.h


Ignore:
Timestamp:
2018-10-01T18:36:42Z (6 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5cef315
Parents:
1938b381
git-author:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-09-29 16:13:55)
git-committer:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-10-01 18:36:42)
Message:

Clean up headers

Depends on <limits.h> and <stdint.h> being provided, which is a step up from
depending on mostly undocumented predefined macros.
In principle, <limits.h> and <stdint.h> mostly describe properties of
the compiler, so even though we depend on certain values for their contents,
actually defining them in the library is kind of reversal of concerns.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abi/include/_bits/all.h

    r1938b381 r3f7fe9e  
    4141#define _BITS_ALL_H_
    4242
    43 #include <_bits/inttypes.h>
    44 #include <_bits/limits.h>
     43#include <inttypes.h>
     44#include <limits.h>
     45#include <stddef.h>
     46
    4547#include <_bits/native.h>
    46 #include <_bits/ptrdiff_t.h>
    47 #include <_bits/size_t.h>
    4848#include <_bits/ssize_t.h>
    49 #include <_bits/stdint.h>
    50 #include <_bits/wchar_t.h>
    5149#include <_bits/wint_t.h>
    5250
Note: See TracChangeset for help on using the changeset viewer.