From 8ebe4ecac6d208a84c56ab5c08abf430145c6281 Mon Sep 17 00:00:00 2001 From: Marc Dionne Date: Tue, 5 Mar 2013 19:38:34 -0500 Subject: [PATCH] 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 --- src/afs/afs_syscall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5