source: rtems/cpukit/sapi/src/getversionstring.c @ f58ef8ae

4.115
Last change on this file since f58ef8ae was 4d47256, checked in by Joel Sherrill <joel.sherrill@…>, on 07/15/08 at 22:56:45

2008-07-15 Joel Sherrill <joel.sherrill@…>

  • rtems/include/rtems.h, sapi/Makefile.am: Add simple helper to get RTEMS version string.
  • sapi/src/getversionstring.c: New file.
  • Property mode set to 100644
File size: 409 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#if HAVE_CONFIG_H
13#include "config.h"
14#endif
15
16#include <rtems/system.h>
17
18const char *rtems_get_version_string(void)
19{
20  return _RTEMS_version;
21}
Note: See TracBrowser for help on using the repository browser.