2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>

* clock/clock.c: Move extern outside of braces.
This commit is contained in:
Joel Sherrill
2008-08-19 17:41:56 +00:00
parent 593297e428
commit d3b8e4a35d
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* clock/clock.c: Move extern outside of braces.
2008-07-09 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
* Makefile.am, spi/m360_spidrv.c, spi/m360_spidrv.h:

View File

@@ -81,10 +81,11 @@ static unsigned long nsec;
* For a 25 MHz external clock the basic clock rate is
* 40 nsec * 128 * 4 = 20.48 usec/tick
*/
extern int m360_clock_rate;
#define Clock_driver_support_initialize_hardware() \
do { \
unsigned int divisor; \
extern int m360_clock_rate; \
unsigned long nsec_per_chip_tick = 1000000000 / m360_clock_rate; \
unsigned long nsec_per_pit_tick = 512 * nsec_per_chip_tick; \
rtems_nsec_per_tick = rtems_configuration_get_microseconds_per_tick() * 1000; \