summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2016-04-21 20:12:36 -0500
committerJoel Sherrill <joel@rtems.org>2016-06-16 09:03:22 -0500
commit82cb100abac03a9df2ec2a48c08e307493e5c556 (patch)
treed870ffb33dc9b0ecc1a6e600273da1c3a8b4d400
parent4788a074a5233c40823c86e7d5062ae65ef62f2e (diff)
downloadrtems-82cb100abac03a9df2ec2a48c08e307493e5c556.tar.bz2
libchip/shmdr/poll.c: Fix warning and clean up
-rw-r--r--c/src/libchip/shmdr/poll.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/c/src/libchip/shmdr/poll.c b/c/src/libchip/shmdr/poll.c
index 6ebd6e2a21..39eab7d352 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
)