afsd: Tidy up system calls
authorSimon Wilkinson <sxw@your-file-system.com>
Wed, 7 Sep 2011 17:31:32 +0000 (18:31 +0100)
committerDerrick Brashear <shadow@dementix.org>
Mon, 23 Jul 2012 14:11:23 +0000 (07:11 -0700)
commitead743db5d57afa175f5dc0828b76881bcbcbf54
tree502537c46feddfdc90d3da2014c6d9ecff07d2cc
parent748a3e29b624d10e90af43cb0dc65a4f96c0310e
afsd: Tidy up system calls

Tidy up the way that we do system calls from afsd, by making
afsd_syscall a va_arg function, using a structure to pass system call
information around, and simplifying the #ifdef ladder that converts our
platform independent system calls into something platform specific.

This fixes all of the warnings in afsd which required the -Wno-error
option, the only warnings remaining are related to daemon being
deprecated on Darwin.

Change-Id: I357c7d175b5327007d50d213c6181881c842050e
Reviewed-on: http://gerrit.openafs.org/7188
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Tested-by: Derrick Brashear <shadow@dementix.org>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
README.WARNINGS
src/afs/UKERNEL/afsd_uafs.c
src/afsd/Makefile.in
src/afsd/afsd.c
src/afsd/afsd.h
src/afsd/afsd_kernel.c