From: Marc Dionne Date: Wed, 6 Mar 2013 00:38:34 +0000 (-0500) Subject: libafs: fix Afs_syscall definition for UKERNEL X-Git-Tag: upstream/1.8.0_pre1^2~1144 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=8ebe4ecac6d208a84c56ab5c08abf430145c6281;p=packages%2Fo%2Fopenafs.git libafs: fix Afs_syscall definition for UKERNEL For the UKERNEL case, Afs_syscall is prototyped and used as (void). Make the function definition use the void keyword to avoid a warning about an old style definition. Change-Id: Ic22f58a6c646d6f557e5891ce2ed51fba50fba35 Reviewed-on: http://gerrit.openafs.org/9402 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- diff --git a/src/afs/afs_syscall.c b/src/afs/afs_syscall.c index a846431c1..bf480d1c9 100644 --- a/src/afs/afs_syscall.c +++ b/src/afs/afs_syscall.c @@ -521,7 +521,7 @@ afs_syscall(long syscall, long parm1, long parm2, long parm3, long parm4) #else # if defined(UKERNEL) int -Afs_syscall() +Afs_syscall(void) { struct a { long syscall;