source: rtems/c/src/support/version.c @ 0f77281

4.115
Last change on this file since 0f77281 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 655 bytes
Line 
1/*
2 *  COPYRIGHT (c) 2003, Ralf Corsepius, Ulm, Germany.
3 *  COPYRIGHT (c) 2003, 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
10#include <rtems/system.h>
11
12#ifndef RTEMS_VERSION
13#error "Missing RTEMS_VERSION"
14#endif
15#ifndef CPU_NAME
16#error "Missing CPU_NAME"
17#endif
18#ifndef CPU_MODEL_NAME
19#error "Missing CPU_MODEL_NAME"
20#endif
21#ifndef RTEMS_BSP
22#error "Missing RTEMS_BSP"
23#endif
24
25const char _RTEMS_version[] =
26  "rtems-" RTEMS_VERSION "(" CPU_NAME "/" CPU_MODEL_NAME "/" RTEMS_BSP ")";
Note: See TracBrowser for help on using the repository browser.