source: rtems/cpukit/rtems/src/rtemsbuildname.c @ f68401e

4.115
Last change on this file since f68401e was 137f947, checked in by Joel Sherrill <joel.sherrill@…>, on 09/22/13 at 15:01:58

rtemsbuildname.c: Fix missing prototype warnings

  • Property mode set to 100644
File size: 881 bytes
Line 
1/**
2 *  @file
3 *
4 *  @brief Build Thirty-Two Bit Object Name
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/system.h>
22#include <rtems/rtems/types.h>
23
24/*
25 *  Undefine since this is normally a macro and we want a real body in
26 *  the library for other language bindings.
27 */
28#undef rtems_build_name
29
30/*
31 *  Prototype it to avoid warnings
32 */
33rtems_name rtems_build_name(
34  char C1,
35  char C2,
36  char C3,
37  char C4
38);
39
40/*
41 *  Now define a real body
42 */
43rtems_name rtems_build_name(
44  char C1,
45  char C2,
46  char C3,
47  char C4
48)
49{
50  return _Objects_Build_name( C1, C2, C3, C4 );
51}
Note: See TracBrowser for help on using the repository browser.