From 374f1e0d9aec91280946088b6c6c2f12af849734 Mon Sep 17 00:00:00 2001 From: bernie Date: Mon, 20 Sep 2004 03:29:39 +0000 Subject: [PATCH] C++ fixes. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@215 38d2e660-2303-0410-9eaa-f027e97ec537 --- kern/proc.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/kern/proc.c b/kern/proc.c index 88791e0a..db3cf50d 100755 --- a/kern/proc.c +++ b/kern/proc.c @@ -17,6 +17,9 @@ /*#* *#* $Log$ + *#* Revision 1.15 2004/09/20 03:29:39 bernie + *#* C++ fixes. + *#* *#* Revision 1.14 2004/09/14 21:06:44 bernie *#* Use debug.h instead of kdebug.h. *#* @@ -70,11 +73,13 @@ #include /* memset() */ -/*! CPU dependent context switching routines - * \note This function *MUST* preserve also the status of the interrupts. +/*! + * CPU dependent context switching routines. + * + * \note This function *MUST* preserve also the status of the interrupts. */ -extern void asm_switch_context(cpustack_t **new_sp, cpustack_t **save_sp); -extern int asm_switch_version(void); +EXTERN_C void asm_switch_context(cpustack_t **new_sp, cpustack_t **save_sp); +EXTERN_C int asm_switch_version(void); /* * The scheduer tracks ready and waiting processes -- 2.25.1