summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/rtemsobjectidapimaximum.c
blob: fbf6c19d0279bbb0ab1c3b51954020de863fe4c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 *  RTEMS Object Helper -- Get Greatest Valid API Number
 *
 *  COPYRIGHT (c) 1989-2008.
 *  On-Line Applications Research Corporation (OAR).
 *
 *  The license and distribution terms for this file may be
 *  found in the file LICENSE in this distribution or at
 *  http://www.rtems.com/license/LICENSE.
 *
 *  $Id$
 */

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

#include <rtems/system.h>
#include <rtems/score/object.h>
#include <rtems/rtems/types.h>

#undef rtems_object_id_api_maximum
int rtems_object_id_api_maximum(void)
{
  return OBJECTS_APIS_LAST;
}