aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/sched_arinc653.c
diff options
context:
space:
mode:
authorTim Deegan <Tim.Deegan@citrix.com>2011-05-27 08:56:12 +0100
committerTim Deegan <Tim.Deegan@citrix.com>2011-05-27 08:56:12 +0100
commitf87806bcecfdd4d57bc1b543045ce3bfa84332a4 (patch)
tree26d8986e03ce83ad6d00a3b22da9915d531a4a63 /xen/common/sched_arinc653.c
parent2d680dadf189da1774c086f6eed72e5da564eb1e (diff)
downloadxen-f87806bcecfdd4d57bc1b543045ce3bfa84332a4.tar.gz
xen-f87806bcecfdd4d57bc1b543045ce3bfa84332a4.tar.bz2
xen-f87806bcecfdd4d57bc1b543045ce3bfa84332a4.zip
xen: remove more declarations from C files.
This patch moves some more, mostly data, extern declarations into header files. I haven't been as strict as I was with functions; in particular there are a number of declarations of assembler labels that are only used in one place. I've also left a few compat-mode tricks, and all the magic in symbols.c Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
Diffstat (limited to 'xen/common/sched_arinc653.c')
-rw-r--r--xen/common/sched_arinc653.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/common/sched_arinc653.c b/xen/common/sched_arinc653.c
index e0cab17fc3..b6f09ab3c8 100644
--- a/xen/common/sched_arinc653.c
+++ b/xen/common/sched_arinc653.c
@@ -654,7 +654,7 @@ a653sched_adjust_global(const struct scheduler *ops,
* callback functions.
* The symbol must be visible to the rest of Xen at link time.
*/
-struct scheduler sched_arinc653_def = {
+const struct scheduler sched_arinc653_def = {
.name = "ARINC 653 Scheduler",
.opt_name = "arinc653",
.sched_id = XEN_SCHEDULER_ARINC653,