summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/i960
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-04-07 21:24:02 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-04-07 21:24:02 +0000
commitd6ba279565aa135cfce8d622c3b82b7609eef31b (patch)
treea9f9e65c0b59c0edd4197f66162697e4ae674b23 /c/src/lib/libbsp/i960
parentadded include of unistd.h to eliminate warning for no prototype for write(). (diff)
downloadrtems-d6ba279565aa135cfce8d622c3b82b7609eef31b.tar.bz2
added initialization of variable to eliminate warning.
Diffstat (limited to 'c/src/lib/libbsp/i960')
-rw-r--r--c/src/lib/libbsp/i960/cvme961/include/bsp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/i960/cvme961/include/bsp.h b/c/src/lib/libbsp/i960/cvme961/include/bsp.h
index 9b6caab59d..08fdbce174 100644
--- a/c/src/lib/libbsp/i960/cvme961/include/bsp.h
+++ b/c/src/lib/libbsp/i960/cvme961/include/bsp.h
@@ -62,7 +62,7 @@ extern "C" {
#define delay( microseconds ) \
{ register rtems_unsigned32 _delay=(microseconds); \
- register rtems_unsigned32 _tmp; \
+ register rtems_unsigned32 _tmp = 0; /* initialized to avoid warning */ \
asm volatile( "0: \
remo 3,31,%0 ; \
cmpo 0,%0 ; \