aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/xencomm.h
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-08-14 16:32:49 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-08-14 16:32:49 +0100
commitc9fd63e861403ceca026f76095e804efb70c0a13 (patch)
tree19b12ef8449c829342f433b69b05dd9f7592ba45 /xen/include/xen/xencomm.h
parent6877a0de293aa9b8054f8b9cd0c9a15e1fa5c8a8 (diff)
downloadxen-c9fd63e861403ceca026f76095e804efb70c0a13.tar.gz
xen-c9fd63e861403ceca026f76095e804efb70c0a13.tar.bz2
xen-c9fd63e861403ceca026f76095e804efb70c0a13.zip
xencomm: Fix for code style.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/xen/xencomm.h')
-rw-r--r--xen/include/xen/xencomm.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/xen/include/xen/xencomm.h b/xen/include/xen/xencomm.h
index 95126ba67f..9b46c89dbf 100644
--- a/xen/include/xen/xencomm.h
+++ b/xen/include/xen/xencomm.h
@@ -23,13 +23,12 @@
#include <public/xen.h>
-extern unsigned long xencomm_copy_to_guest(void *to, const void *from,
- unsigned int len, unsigned int skip);
-extern unsigned long xencomm_copy_from_guest(void *to, const void *from,
- unsigned int len, unsigned int skip);
-extern int xencomm_add_offset(void **handle, unsigned int bytes);
-extern int xencomm_handle_is_null(void *ptr);
-
+unsigned long xencomm_copy_to_guest(
+ void *to, const void *from, unsigned int len, unsigned int skip);
+unsigned long xencomm_copy_from_guest(
+ void *to, const void *from, unsigned int len, unsigned int skip);
+int xencomm_add_offset(void **handle, unsigned int bytes);
+int xencomm_handle_is_null(void *ptr);
static inline int xencomm_is_inline(const void *handle)
{
@@ -39,7 +38,7 @@ static inline int xencomm_is_inline(const void *handle)
static inline unsigned long xencomm_inline_addr(const void *handle)
{
- return (unsigned long)handle & ~XENCOMM_INLINE_FLAG;
+ return (unsigned long)handle & ~XENCOMM_INLINE_FLAG;
}
/* Is the guest handle a NULL reference? */