git: <machine/stdint.h>: Adjust basic types to be more generic.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Thu Nov 14 05:37:55 PST 2019


commit d96b5bb39d03a0cff633680e90c2b137ddaff30b
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Sun Nov 10 23:00:04 2019 +0200

    <machine/stdint.h>: Adjust basic types to be more generic.
    
     Use basic LP types for time_t to avoid need to use cast (uintmax_t) in
     debug prints.  The clock_t could be adjusted too, but previously on i386
     DragonFly used int for this type.
    
     The same could be done for vm_offset_t and vm_size_t.

Summary of changes:
 sys/cpu/x86_64/include/stdint.h | 34 ++++++++++++++--------------------
 1 file changed, 14 insertions(+), 20 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d96b5bb39d03a0cff633680e90c2b137ddaff30b


-- 
DragonFly BSD source repository



More information about the Commits mailing list