[rtems commit] libchip/shmdr/poll.c: Fix warning and clean up
Joel Sherrill
joel at rtems.org
Thu Jun 16 14:04:33 UTC 2016
Module: rtems
Branch: master
Commit: 82cb100abac03a9df2ec2a48c08e307493e5c556
Changeset: http://git.rtems.org/rtems/commit/?id=82cb100abac03a9df2ec2a48c08e307493e5c556
Author: Joel Sherrill <joel at rtems.org>
Date: Thu Apr 21 20:12:36 2016 -0500
libchip/shmdr/poll.c: Fix warning and clean up
---
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
)
More information about the vc
mailing list