summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-29 22:54:27 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-05 07:05:27 +0900
commit922f4c2f0501a34f3914bfb9c7ca605031d99682 (patch)
tree679dc290f0d9db959b4846eed4a9470f67ce340d
parente9ba474a0db66435be8386876a5a2d75adcba274 (diff)
i386/i386at/model_dep.c: remove forward declaration
* i386/i386at/model_dep.c (init_alloc_aligned): Remove forward declaration. * i386/i386at/model_dep.h (init_alloc_aligned): Add prototype.
-rw-r--r--i386/i386at/model_dep.c2
-rw-r--r--i386/i386at/model_dep.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/i386/i386at/model_dep.c b/i386/i386at/model_dep.c
index 21f6186..f0d49f4 100644
--- a/i386/i386at/model_dep.c
+++ b/i386/i386at/model_dep.c
@@ -136,8 +136,6 @@ vm_offset_t int_stack_top, int_stack_high;
extern void linux_init(void);
#endif
-boolean_t init_alloc_aligned(vm_size_t size, vm_offset_t *addrp);
-
/*
* Find devices. The system is alive.
*/
diff --git a/i386/i386at/model_dep.h b/i386/i386at/model_dep.h
index 65dc00b..7357314 100644
--- a/i386/i386at/model_dep.h
+++ b/i386/i386at/model_dep.h
@@ -35,4 +35,6 @@ extern void halt_all_cpus (boolean_t reboot) __attribute__ ((noreturn));
void inittodr(void);
+boolean_t init_alloc_aligned(vm_size_t size, vm_offset_t *addrp);
+
#endif /* _MODEL_DEP_H_ */