Changeset 67c64b9f in mainline


Ignore:
Timestamp:
2011-06-24T01:04:05Z (13 years ago)
Author:
Petr Koupy <petr.koupy@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
021c508, 458d356
Parents:
e64b55a
Message:

Hexadecimal literals in stdint.h changed to decimal literals.

Location:
uspace/lib/posix
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/limits.h

    re64b55a r67c64b9f  
    3636#define POSIX_LIMITS_H_
    3737
    38 #include "libc/stdint.h"
     38#include "stdint.h"
    3939#include "libc/sys/types.h"
    4040
  • uspace/lib/posix/stdint.h

    re64b55a r67c64b9f  
    3636#define POSIX_STDINT_H_
    3737
    38 #include "libc/stdint.h"
     38#undef INT8_MAX
     39#undef INT8_MIN
     40#define INT8_MAX  127
     41#define INT8_MIN  (-128)
     42
     43#undef UINT8_MAX
     44#undef UINT8_MIN
     45#define UINT8_MAX  255
     46#define UINT8_MIN  0
     47
     48#undef INT16_MAX
     49#undef INT16_MIN
     50#define INT16_MAX  32767
     51#define INT16_MIN  (-32768)
     52
     53#undef UINT16_MAX
     54#undef UINT16_MIN
     55#define UINT16_MAX  65535
     56#define UINT16_MIN  0
     57
     58#undef INT32_MAX
     59#undef INT32_MIN
     60#define INT32_MAX  2147483647
     61#define INT32_MIN  (-INT32_MAX - 1)
     62
     63#undef UINT32_MAX
     64#undef UINT32_MIN
     65#define UINT32_MAX  4294967295U
     66#define UINT32_MIN  0U
     67
     68#undef INT64_MAX
     69#undef INT64_MIN
     70#define INT64_MAX  9223372036854775807LL
     71#define INT64_MIN  (-INT64_MAX - 1LL)
     72
     73#undef UINT64_MAX
     74#undef  UINT64_MIN
     75#define UINT64_MAX  18446744073709551615ULL
     76#define UINT64_MIN  0ULL
     77
     78#undef OFF64_MAX
     79#undef OFF64_MIN
     80#define OFF64_MAX  INT64_MAX
     81#define OFF64_MIN  INT64_MIN
     82
     83#undef AOFF64_MAX
     84#undef AOFF64_MIN
     85#define AOFF64_MAX  UINT64_MAX
     86#define AOFF64_MIN  UINT64_MIN
     87
     88#include "libc/sys/types.h"
    3989
    4090typedef int64_t posix_intmax_t;
  • uspace/lib/posix/stdlib/strtold.c

    re64b55a r67c64b9f  
    4141#include <errno.h> // TODO: use POSIX errno
    4242#include "../libc/bool.h"
    43 #include "../libc/stdint.h"
     43#include "../stdint.h"
    4444#include "../stdlib.h"
    4545#include "../strings.h"
Note: See TracChangeset for help on using the changeset viewer.