DragonFly commits List (threaded) for 2009-05
DragonFly BSD
DragonFly commits List (threaded) for 2009-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

DragonFly- master include stdint.h sys/cpu/amd64/include int_const.h int_limits.h stdint.h sys/cpu/i386/include int_const.h int_limits.h stdint.h

From: Simon Schubert <corecode@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 27 May 2009 02:41:01 -0700 (PDT)

commit 0d2a1dea27835ac500edf5643b5832e162a88171
Author: Simon Schubert <corecode@dragonflybsd.org>
Date:   Wed May 27 11:32:06 2009 +0200

    stdint.h: rearrange declarations into separate files
    The current machine/stdint.h situation is a mess.  It declares only the
    __versions of stdint integers, but also defines limit and constant
    macros.  Furthermore it also declares non-integer types.
    Break out integer limit and constant macros into their own machine/
    headers and include all of these headers from <stdint.h>, but not from
    machine/stdint.h.  The declaration of integer_t types still happens in
    main stdint.h.
    This is slightly based on NetBSD's way of doing it.

Summary of changes:
 include/stdint.h                   |    8 ++
 sys/cpu/amd64/include/int_const.h  |   55 +++++++++++++
 sys/cpu/amd64/include/int_limits.h |  141 ++++++++++++++++++++++++++++++++
 sys/cpu/amd64/include/stdint.h     |  131 ------------------------------
 sys/cpu/i386/include/int_const.h   |   55 +++++++++++++
 sys/cpu/i386/include/int_limits.h  |  157 ++++++++++++++++++++++++++++++++++++
 sys/cpu/i386/include/stdint.h      |  146 ---------------------------------
 7 files changed, 416 insertions(+), 277 deletions(-)
 create mode 100644 sys/cpu/amd64/include/int_const.h
 create mode 100644 sys/cpu/amd64/include/int_limits.h
 create mode 100644 sys/cpu/i386/include/int_const.h
 create mode 100644 sys/cpu/i386/include/int_limits.h


DragonFly BSD source repository

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]