source: rtems/cpukit/score/src/objectapimaximumclass.c @ 5472ad41

4.115
Last change on this file since 5472ad41 was c5a359b, checked in by Ralf Corsepius <ralf.corsepius@…>, on 06/18/10 at 04:03:04

2010-06-18 Ralf Corsépius <ralf.corsepius@…>

  • score/src/objectapimaximumclass.c: Remove OBJECTS_ITRON_API.
  • Property mode set to 100644
File size: 734 bytes
Line 
1/*
2 *  COPYRIGHT (c) 1989-2008.
3 *  On-Line Applications Research Corporation (OAR).
4 *
5 *  The license and distribution terms for this file may be
6 *  found in the file LICENSE in this distribution or at
7 *  http://www.rtems.com/license/LICENSE.
8 *
9 *  $Id$
10 */
11
12#ifdef HAVE_CONFIG_H
13#include "config.h"
14#endif
15
16#include <rtems/system.h>
17#include <rtems/score/object.h>
18
19unsigned int _Objects_API_maximum_class(
20  uint32_t api
21)
22{
23  switch (api) {
24    case OBJECTS_INTERNAL_API:
25      return OBJECTS_INTERNAL_CLASSES_LAST;
26    case OBJECTS_CLASSIC_API:
27      return OBJECTS_RTEMS_CLASSES_LAST;
28    case OBJECTS_POSIX_API:
29      return OBJECTS_POSIX_CLASSES_LAST;
30    case OBJECTS_NO_API:
31    default:
32      break;
33  }
34  return 0;
35}
36
Note: See TracBrowser for help on using the repository browser.