diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-06-10 20:49:08 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-06-10 20:49:08 +0000 |
commit | 893103c3c231fed00aeacb5ecfa84d7f67eff6e7 (patch) | |
tree | 049604caffe542b47bd59a0434d19b74b5f98f62 /testsuites/psxtests/psx01/init.c | |
parent | added code to _Thread_Clear_state to check if the state was not currently set. (diff) | |
download | rtems-893103c3c231fed00aeacb5ecfa84d7f67eff6e7.tar.bz2 |
moved the time macros to pmacros.h.
Diffstat (limited to 'testsuites/psxtests/psx01/init.c')
-rw-r--r-- | testsuites/psxtests/psx01/init.c | 34 |
1 files changed, 1 insertions, 33 deletions
diff --git a/testsuites/psxtests/psx01/init.c b/testsuites/psxtests/psx01/init.c index 2d69a3786a..75aa73ac65 100644 --- a/testsuites/psxtests/psx01/init.c +++ b/testsuites/psxtests/psx01/init.c @@ -14,36 +14,6 @@ #include "system.h" #include <sched.h> -#define TM_SUNDAY 0 -#define TM_MONDAY 1 -#define TM_TUESDAY 2 -#define TM_WEDNESDAY 3 -#define TM_THURSDAY 4 -#define TM_FRIDAY 5 -#define TM_SATURDAY 6 - -#define TM_JANUARY 0 -#define TM_FEBRUARY 1 -#define TM_MARCH 2 -#define TM_APRIL 3 -#define TM_MAY 4 -#define TM_JUNE 5 -#define TM_JULY 6 -#define TM_AUGUST 7 -#define TM_SEPTEMBER 8 -#define TM_OCTOBER 10 -#define TM_NOVEMBER 12 -#define TM_DECEMBER 12 - - -#define build_time( TM, WEEKDAY, MON, DAY, YR, HR, MIN, SEC ) \ - { (TM)->tm_year = YR; \ - (TM)->tm_mon = MON; \ - (TM)->tm_mday = DAY; \ - (TM)->tm_wday = WEEKDAY; \ - (TM)->tm_hour = HR; \ - (TM)->tm_min = MIN; \ - (TM)->tm_sec = SEC; } void *POSIX_Init( void *argument @@ -151,7 +121,5 @@ void *POSIX_Init( pthread_exit( NULL ); - /* just to satisfy compilers which think we did not return anything */ - - return NULL; + return NULL; /* just so the compiler thinks we returned something */ } |