4.115
Last change
on this file since 9b4422a2 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:
1.1 KB
|
Line | |
---|
1 | /* |
---|
2 | * |
---|
3 | * COPYRIGHT (c) 1989-2009. |
---|
4 | * On-Line Applications Research Corporation (OAR). |
---|
5 | * |
---|
6 | * The license and distribution terms for this file may be |
---|
7 | * found in the file LICENSE in this distribution or at |
---|
8 | * http://www.rtems.com/license/LICENSE. |
---|
9 | */ |
---|
10 | |
---|
11 | #ifdef HAVE_CONFIG_H |
---|
12 | #include "config.h" |
---|
13 | #endif |
---|
14 | |
---|
15 | #include <rtems.h> |
---|
16 | #include "pmacros.h" |
---|
17 | #include <pthread.h> /* thread facilities */ |
---|
18 | |
---|
19 | void cleaner(void *arg) |
---|
20 | { |
---|
21 | puts( "clean was not supposed to run" ); |
---|
22 | rtems_test_exit(0); |
---|
23 | } |
---|
24 | |
---|
25 | void *POSIX_Init( |
---|
26 | void *argument |
---|
27 | ) |
---|
28 | { |
---|
29 | puts( "\n\n*** POSIX CLEANUP TEST 01 ***" ); |
---|
30 | |
---|
31 | puts( "Init - pthread_cleanup_push - a routine we will not execute" ); |
---|
32 | pthread_cleanup_push(cleaner, NULL); |
---|
33 | |
---|
34 | puts( "Init - pthread_cleanup_pop - do not execute" ); |
---|
35 | pthread_cleanup_pop(0); |
---|
36 | |
---|
37 | puts( "*** END OF POSIX CLEANUP TEST 01 ***\n" ); |
---|
38 | rtems_test_exit(0); |
---|
39 | } |
---|
40 | |
---|
41 | |
---|
42 | /* configuration information */ |
---|
43 | |
---|
44 | #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER |
---|
45 | #define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER |
---|
46 | |
---|
47 | #define CONFIGURE_POSIX_INIT_THREAD_TABLE |
---|
48 | |
---|
49 | #define CONFIGURE_MAXIMUM_POSIX_THREADS 1 |
---|
50 | |
---|
51 | #define CONFIGURE_INIT |
---|
52 | #include <rtems/confdefs.h> |
---|
Note: See
TracBrowser
for help on using the repository browser.