source: rtems/cpukit/rtems/src/timerfireafter.c @ 80cf60e

5
Last change on this file since 80cf60e was 80cf60e, checked in by Sebastian Huber <sebastian.huber@…>, on 04/15/20 at 07:48:32

Canonicalize config.h include

Use the following variant which was already used by most source files:

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

  • Property mode set to 100644
File size: 772 bytes
Line 
1/**
2 *  @file
3 *
4 *  @brief RTEMS Timer Fire After
5 *  @ingroup ClassicTimer
6 */
7
8/*
9 *  COPYRIGHT (c) 1989-2007.
10 *  On-Line Applications Research Corporation (OAR).
11 *
12 *  The license and distribution terms for this file may be
13 *  found in the file LICENSE in this distribution or at
14 *  http://www.rtems.org/license/LICENSE.
15 */
16
17#ifdef HAVE_CONFIG_H
18#include "config.h"
19#endif
20
21#include <rtems/rtems/timerimpl.h>
22
23rtems_status_code rtems_timer_fire_after(
24  rtems_id                           id,
25  rtems_interval                     ticks,
26  rtems_timer_service_routine_entry  routine,
27  void                              *user_data
28)
29{
30  return _Timer_Fire_after(
31    id,
32    ticks,
33    routine,
34    user_data,
35    TIMER_INTERVAL,
36    _Timer_Routine_adaptor
37  );
38}
Note: See TracBrowser for help on using the repository browser.