source: rtems/cpukit/score/src/ts64set.c @ 3a42e6fd

4.115
Last change on this file since 3a42e6fd was 3a42e6fd, checked in by Sebastian Huber <sebastian.huber@…>, on 09/28/11 at 14:42:12

2011-09-28 Sebastian Huber <sebastian.huber@…>

PR 1914/cpukit

  • score/src/timespecgreaterthan.c, score/src/ts64greaterthan.c: Removed files.
  • score/Makefile.am: Reflect changes above.
  • score/include/rtems/score/timespec.h, score/include/rtems/score/timestamp.h, score/include/rtems/score/timestamp64.h, score/src/ts64addto.c, score/src/ts64divide.c, score/src/ts64dividebyinteger.c, score/src/ts64equalto.c, score/src/ts64getnanoseconds.c, score/src/ts64getseconds.c, score/src/ts64lessthan.c, score/src/ts64set.c, score/src/ts64settozero.c, score/src/ts64subtract.c, score/src/ts64toticks.c, score/src/ts64totimespec.c: Use CPU_TIMESTAMP_USE_STRUCT_TIMESPEC, CPU_TIMESTAMP_USE_INT64, and CPU_TIMESTAMP_USE_INT64_INLINE. Removed copy and paste.
  • Property mode set to 100644
File size: 622 bytes
Line 
1/**
2 * @file score/src/ts64set.c
3*/
4
5/*
6 *  COPYRIGHT (c) 1989-2008.
7 *  On-Line Applications Research Corporation (OAR).
8 *
9 *  The license and distribution terms for this file may be
10 *  found in the file LICENSE in this distribution or at
11 *  http://www.rtems.com/license/LICENSE.
12 *
13 *  $Id$
14 */
15
16#if HAVE_CONFIG_H
17#include "config.h"
18#endif
19
20#include <rtems/score/timestamp.h>
21
22#if CPU_TIMESTAMP_USE_INT64 == TRUE
23void _Timestamp64_Set(
24  Timestamp64_Control *_time,
25  long                 _seconds,
26  long                 _nanoseconds
27)
28{
29  _Timestamp64_implementation_Set( _time, _seconds, _nanoseconds );
30}
31#endif
Note: See TracBrowser for help on using the repository browser.