[PATCH 32/34] shared/clockdrv_shell.h: Always include <rtems/clockdrv.h> to avoid warnings
Joel Sherrill
joel.sherrill at oarcorp.com
Mon Oct 20 20:34:34 UTC 2014
---
c/src/lib/libbsp/shared/clockdrv_shell.h | 16 ++--------------
1 file changed, 2 insertions(+), 14 deletions(-)
diff --git a/c/src/lib/libbsp/shared/clockdrv_shell.h b/c/src/lib/libbsp/shared/clockdrv_shell.h
index 324e1e5..5dbea13 100644
--- a/c/src/lib/libbsp/shared/clockdrv_shell.h
+++ b/c/src/lib/libbsp/shared/clockdrv_shell.h
@@ -7,7 +7,7 @@
*/
/*
- * COPYRIGHT (c) 1989-2012.
+ * COPYRIGHT (c) 1989-2014.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,7 @@
#include <stdlib.h>
#include <bsp.h>
+#include <rtems/clockdrv.h>
/**
* @defgroup bsp_clock Clock Support
@@ -58,10 +59,6 @@ void Clock_exit( void );
* This is the clock tick interrupt handler.
*
* @param vector Vector number.
- *
- * Output parameters: NONE
- *
- * Return values: NONE
*/
#if defined(BSP_FEATURE_IRQ_EXTENSION) || \
(CPU_SIMPLE_VECTORED_INTERRUPTS != TRUE)
@@ -123,15 +120,7 @@ rtems_isr Clock_isr(
*
* This routine allows the clock driver to exit by masking the interrupt and
* disabling the clock's counter.
- *
- * Input parameters: NONE
- *
- * Output parameters: NONE
- *
- * Return values: NONE
- *
*/
-
void Clock_exit( void )
{
Clock_driver_support_shutdown_hardware();
@@ -150,7 +139,6 @@ void Clock_exit( void )
*
* @retval rtems_device_driver status code
*/
-
rtems_device_driver Clock_initialize(
rtems_device_major_number major,
rtems_device_minor_number minor,
--
1.9.3
More information about the devel
mailing list