]> Zhao Yanbai Git Server - minix.git/commit
Alignement on netbsd types, part 1 22/922/2
authorLionel Sambuc <lionel@minix3.org>
Tue, 16 Apr 2013 09:48:54 +0000 (11:48 +0200)
committerLionel Sambuc <lionel@minix3.org>
Tue, 18 Feb 2014 10:25:01 +0000 (11:25 +0100)
commit744378194dae326fba7b9fdc3ecb0fed3bad498e
treea1abefca3d570a3478bda5214b0752b8d666a409
parente8e506f2a01786ff714c383d091fe27487a2b717
Alignement on netbsd types, part 1

The following types are modified (old -> new):
 * _BSD_USECONDS_T_ int       -> unsigned int
 * __socklen_t      __int32_t -> __uint32_t
 * blksize_t        uint32_t  -> int32_t
 * rlim_t           uint32_t  -> uint64_t
On ARM:
 * _BSD_CLOCK_T_    int       -> unsigned int
On Intel:
 * _BSD_CLOCK_T_    int       -> unsigned long

bin/cat is also updated in order to fix warnings.

_BSD_TIMER_T_ has still to be aligned.

Change-Id: I2b4fda024125a19901120546c4e22e443ba5e9d7
28 files changed:
bin/cat/cat.1
bin/cat/cat.c
include/dirent.h
include/minix/virtio.h
include/stdlib.h
include/unistd.h
kernel/clock.c
kernel/system/do_vtimer.c
lib/libvirtio/virtio.c
releasetools/nbsd_ports
servers/inet/clock.c
servers/inet/generic/clock.h
servers/inet/generic/tcp_send.c
servers/is/dmp_kernel.c
servers/is/dmp_pm.c
servers/is/dmp_rs.c
servers/pm/alarm.c
servers/rs/exec.c
sys/arch/arm/include/ansi.h
sys/arch/i386/include/ansi.h
sys/arch/i386/include/asm.h
sys/sys/ansi.h
sys/sys/disklabel_gpt.h
sys/sys/fd_set.h
sys/sys/file.h
sys/sys/time.h
sys/sys/types.h
test/test2.c