Install_clock has now static linkage. Initialize rtems_clock_major with unsigned integer literal

This commit is contained in:
Thomas Doerfler
2008-09-22 11:32:48 +00:00
parent a948e85de5
commit 88aad06f6b
2 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
2008-09-22 Sebastian Huber <sebastian.huber@embedded-brains.de>
* clockdrv_shell.c: Install_clock has now static linkage. Initialize
rtems_clock_major with unsigned integer literal.
2008-09-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* bspgetworkarea.c: Fix typo. Add debug printk statements.

View File

@@ -53,7 +53,7 @@ void Clock_exit( void );
* Major and minor number.
*/
rtems_device_major_number rtems_clock_major = ~0;
rtems_device_major_number rtems_clock_major = UINT32_MAX;
rtems_device_minor_number rtems_clock_minor;
/*
@@ -135,7 +135,7 @@ rtems_isr Clock_isr(
*
*/
void Install_clock(
static void Install_clock(
rtems_isr_entry clock_isr
)
{