source: rtems/cpukit/itron/src/act_cyc.c @ 6b8fe00

4.104.115
Last change on this file since 6b8fe00 was 6b8fe00, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/01/09 at 15:13:07

Add attribute((unused)) to unused function args.

  • Property mode set to 100644
File size: 755 bytes
Line 
1/*
2 *  COPYRIGHT (c) 1989-2007.
3 *  On-Line Applications Research Corporation (OAR).
4 *
5 *  The license and distribution terms for this file may be
6 *  found in the file LICENSE in this distribution or at
7 *  http://www.rtems.com/license/LICENSE.
8 *
9 *  $Id$
10 */
11
12#if HAVE_CONFIG_H
13#include "config.h"
14#endif
15
16#include <rtems/itron.h>
17
18#include <rtems/score/thread.h>
19#include <rtems/score/tod.h>
20
21#include <rtems/itron/time.h>
22
23/*
24 *  act_cyc - Activate Cyclic Handler
25 */
26
27ER act_cyc(
28  HNO   cycno __attribute__((unused)),
29  UINT  cycact
30)
31{
32  Watchdog_Control *object;
33
34  if(cycact != TCY_OFF || cycact != TCY_ON)
35     return E_PAR;
36
37#if 0
38  if( object->Object_ID != cycno)
39     return E_NOEXS;
40#endif
41
42  _Watchdog_Activate(object);
43
44  return E_OK;
45}
Note: See TracBrowser for help on using the repository browser.