diff options
author | Tim Deegan <Tim.Deegan@citrix.com> | 2011-05-26 12:37:47 +0100 |
---|---|---|
committer | Tim Deegan <Tim.Deegan@citrix.com> | 2011-05-26 12:37:47 +0100 |
commit | 093e1d2484fc46ec73e527c03af79664218045df (patch) | |
tree | 4ac0109f7f6d91c8c24a62bfdd20dc44e5370e9d /xen/arch/x86/sysctl.c | |
parent | de4bf084c8dc232a629e436ccd0ce989da8c470e (diff) | |
download | xen-093e1d2484fc46ec73e527c03af79664218045df.tar.gz xen-093e1d2484fc46ec73e527c03af79664218045df.tar.bz2 xen-093e1d2484fc46ec73e527c03af79664218045df.zip |
xen: remove extern function declarations from C files.
Move all extern declarations into appropriate header files.
This also fixes up a few places where the caller and the definition
had different signatures.
Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
Diffstat (limited to 'xen/arch/x86/sysctl.c')
-rw-r--r-- | xen/arch/x86/sysctl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xen/arch/x86/sysctl.c b/xen/arch/x86/sysctl.c index 042bde4c46..93f01c23f0 100644 --- a/xen/arch/x86/sysctl.c +++ b/xen/arch/x86/sysctl.c @@ -11,6 +11,7 @@ #include <xen/lib.h> #include <xen/mm.h> #include <xen/guest_access.h> +#include <xen/hypercall.h> #include <public/sysctl.h> #include <xen/sched.h> #include <xen/event.h> @@ -56,8 +57,6 @@ long cpu_down_helper(void *data) return ret; } -extern int __node_distance(int a, int b); - long arch_do_sysctl( struct xen_sysctl *sysctl, XEN_GUEST_HANDLE(xen_sysctl_t) u_sysctl) { |