summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-04-07 21:20:48 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-04-07 21:20:48 +0000
commitd7491651008085e4920ddcc37dc6ae788408e104 (patch)
treedfa96c42941e64eb0aac7ec252af5f3b413565c4
parentadded "ifndef" to avoid redefinition warning (diff)
downloadrtems-d7491651008085e4920ddcc37dc6ae788408e104.tar.bz2
added "return" to eliminate warning.
-rw-r--r--c/src/exec/score/cpu/no_cpu/cpu.c2
-rw-r--r--cpukit/score/cpu/no_cpu/cpu.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/c/src/exec/score/cpu/no_cpu/cpu.c b/c/src/exec/score/cpu/no_cpu/cpu.c
index ba533324ac..a445b74d84 100644
--- a/c/src/exec/score/cpu/no_cpu/cpu.c
+++ b/c/src/exec/score/cpu/no_cpu/cpu.c
@@ -67,6 +67,8 @@ unsigned32 _CPU_ISR_Get_level( void )
/*
* This routine returns the current interrupt level.
*/
+
+ return 0;
}
/*PAGE
diff --git a/cpukit/score/cpu/no_cpu/cpu.c b/cpukit/score/cpu/no_cpu/cpu.c
index ba533324ac..a445b74d84 100644
--- a/cpukit/score/cpu/no_cpu/cpu.c
+++ b/cpukit/score/cpu/no_cpu/cpu.c
@@ -67,6 +67,8 @@ unsigned32 _CPU_ISR_Get_level( void )
/*
* This routine returns the current interrupt level.
*/
+
+ return 0;
}
/*PAGE