diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-04-07 21:24:02 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-04-07 21:24:02 +0000 |
commit | d6ba279565aa135cfce8d622c3b82b7609eef31b (patch) | |
tree | a9f9e65c0b59c0edd4197f66162697e4ae674b23 /c/src/lib/libbsp/i960/cvme961/include/bsp.h | |
parent | added include of unistd.h to eliminate warning for no prototype for write(). (diff) | |
download | rtems-d6ba279565aa135cfce8d622c3b82b7609eef31b.tar.bz2 |
added initialization of variable to eliminate warning.
Diffstat (limited to 'c/src/lib/libbsp/i960/cvme961/include/bsp.h')
-rw-r--r-- | c/src/lib/libbsp/i960/cvme961/include/bsp.h | 2 |
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 ; \ |