summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/rtemsobjectapimaximumclass.c
blob: 16133084d203eb94cacaed29ac61f01326d3146a (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
27
/*
 *  RTEMS Object Helper -- Get Greatest Valid Class for an API
 *
 *  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>

int rtems_object_api_maximum_class(
  int api
)
{
  return _Objects_API_maximum_class(api);
}