]> Zhao Yanbai Git Server - minix.git/commit
Kernel: convert K&R functions to ANSI 69/3269/3
authorDr. Florian Grätz <florian.graetz@gmail.com>
Thu, 5 Nov 2015 14:39:38 +0000 (15:39 +0100)
committerLionel Sambuc <lionel.sambuc@gmail.com>
Sat, 16 Jan 2016 13:04:17 +0000 (14:04 +0100)
commit6077d1ad241af1cd2881b708610d6ceb54ed9612
tree65074b034bcdd07fe79ab5e865b987e971f607e8
parentd8c1e15ae661045d3f0657b21473881d342e446c
Kernel: convert K&R functions to ANSI

Changed all K&R style functions to ANSI-style declarations within the
kernel directory. The code compiles and aparently works for i386. For
arm my toolchain does not work, but I have changed the code with great
care. Also, the make command fails for the test suite. Therefore, I
strongly recommand to review the code with care.

Edited by David van Moolenbroek to convert really all K&R functions.

Change-Id: I58cde797d36f4caa9c72db4e4dc27d8545ab8866
30 files changed:
minix/kernel/arch/earm/arch_do_vmctl.c
minix/kernel/arch/earm/arch_system.c
minix/kernel/arch/earm/bsp/include/bsp_init.h
minix/kernel/arch/earm/bsp/include/bsp_serial.h
minix/kernel/arch/earm/bsp/ti/omap_init.c
minix/kernel/arch/earm/bsp/ti/omap_serial.c
minix/kernel/arch/earm/bsp/ti/omap_serial.h
minix/kernel/arch/earm/bsp/ti/omap_timer.c
minix/kernel/arch/earm/hw_intr.c
minix/kernel/arch/earm/include/arch_proto.h
minix/kernel/arch/earm/include/cpufunc.h
minix/kernel/arch/earm/include/hw_intr.h
minix/kernel/arch/earm/memory.c
minix/kernel/arch/earm/pg_utils.c
minix/kernel/arch/earm/protect.c
minix/kernel/arch/i386/arch_do_vmctl.c
minix/kernel/arch/i386/arch_system.c
minix/kernel/arch/i386/memory.c
minix/kernel/arch/i386/pg_utils.c
minix/kernel/arch/i386/protect.c
minix/kernel/clock.c
minix/kernel/main.c
minix/kernel/proc.c
minix/kernel/profile.c
minix/kernel/proto.h
minix/kernel/system.c
minix/kernel/system/do_irqctl.c
minix/kernel/system/do_safecopy.c
minix/kernel/system/do_vtimer.c
minix/kernel/utility.c