From 82cb100abac03a9df2ec2a48c08e307493e5c556 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 21 Apr 2016 20:12:36 -0500 Subject: 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 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 ) -- cgit v1.2.3