[PATCH 3/7] libchip/shmdr/poll.c: Fix warning and clean up
Joel Sherrill
joel at rtems.org
Tue Jun 14 15:05:55 UTC 2016
---
c/src/libchip/shmdr/poll.c | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/c/src/libchip/shmdr/poll.c b/c/src/libchip/shmdr/poll.c
index 6ebd6e2..39eab7d 100644
--- a/c/src/libchip/shmdr/poll.c
+++ b/c/src/libchip/shmdr/poll.c
@@ -1,8 +1,11 @@
+/**
+ * @file
+ * This routine polls to see if a packet has arrived. If one
+ * has it informs the executive. It uses a Classic API Timer
+ */
+
/*
- * This routine polls to see if a packet has arrived. If one
- * has it informs the executive. It uses a Classic API Timer
- *
- * COPYRIGHT (c) 1989-2008.
+ * COPYRIGHT (c) 1989-2008, 2016.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,7 +21,7 @@
#include "shm_driver.h"
-rtems_timer_service_routine Shm_Poll_TSR(
+static rtems_timer_service_routine Shm_Poll_TSR(
rtems_id id,
void *ignored_address
)
--
1.8.3.1
More information about the devel
mailing list