git: kernel: Fix some void functions returning the results of void functions.
Sascha Wildner
swildner at crater.dragonflybsd.org
Sat Aug 31 12:59:15 PDT 2013
commit d63cf9941d2a18200388107ed8db010f572a492b
Author: Sascha Wildner <saw at online.de>
Date: Sat Aug 31 09:56:00 2013 +0200
kernel: Fix some void functions returning the results of void functions.
It was found with -pedantic, since -Wreturn-type will not warn about this
as long as the calling function has a return type of void, too.
Summary of changes:
sys/dev/agp/agp_i810.c | 2 +-
sys/dev/misc/gpio/gpio.c | 4 ++--
sys/emulation/ndis/subr_ndis.c | 4 ++--
sys/kern/kern_memio.c | 2 +-
sys/net/bpf.c | 5 +++--
5 files changed, 9 insertions(+), 8 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d63cf9941d2a18200388107ed8db010f572a492b
--
DragonFly BSD source repository
More information about the Commits
mailing list