source: rtems/cpukit/rtems/src/rtemsobjectidgetindex.c @ 583ef3a5

4.115
Last change on this file since 583ef3a5 was 651e3aa, checked in by Joel Sherrill <joel.sherrill@…>, on 12/09/13 at 16:17:00

cpukit/rtems: Remove XXX in comments

  • Property mode set to 100644
File size: 686 bytes
Line 
1/**
2 *  @file
3 *
4 *  @brief Get Index Portion of Object Id
5 *  @ingroup ClassicClassInfo
6 */
7
8/*
9 *  COPYRIGHT (c) 1989-2013.
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.com/license/LICENSE.
15 */
16
17#ifdef HAVE_CONFIG_H
18#include "config.h"
19#endif
20
21#include <rtems/score/objectimpl.h>
22
23/*
24 * This is implemented as a macro. This body is provided to support
25 * bindings from non-C based languages.
26 */
27int rtems_object_id_get_index(
28  Objects_Id id
29);
30
31int rtems_object_id_get_index(
32  Objects_Id id
33)
34{
35  return _Objects_Get_index( id );
36}
Note: See TracBrowser for help on using the repository browser.