source: rtems/cpukit/score/src/ts64getseconds.c @ 54cf0e34

4.115
Last change on this file since 54cf0e34 was c1ed7a3, checked in by Joel Sherrill <joel.sherrill@…>, on 10/08/14 at 14:23:39

cpukit/score/src/ts64*: Return a value from non-void function

  • Property mode set to 100644
File size: 598 bytes
Line 
1/**
2 * @file
3 *
4 * @brief Get Seconds Portion of Timestamp
5 * @ingroup SuperCore
6 */
7
8/*
9 *  COPYRIGHT (c) 1989-2008.
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#if HAVE_CONFIG_H
18#include "config.h"
19#endif
20
21#include <rtems/score/timestamp.h>
22
23#if CPU_TIMESTAMP_USE_INT64 == TRUE
24uint32_t _Timestamp64_Get_seconds(
25  const Timestamp64_Control *_time
26)
27{
28  return _Timestamp64_implementation_Get_seconds( _time );
29}
30#endif
Note: See TracBrowser for help on using the repository browser.