Changeset 98cc00e6 in rtems


Ignore:
Timestamp:
Nov 7, 2018, 6:07:53 PM (6 months ago)
Author:
Joel Sherrill <joel@…>
Branches:
master
Children:
e9f15be
Parents:
e94b73f
Message:

psxtmonce01/init.c: Use static and Simple Console

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/psxtmtests/psxtmonce01/init.c

    re94b73f r98cc00e6  
    2727const char rtems_test_name[] = "PSXTMONCE01";
    2828
    29 /* forward declarations to avoid warnings */
    30 void *POSIX_Init(void *argument);
    31 void benchmark_first_time(void);
    32 void initRoutine(void);
     29static pthread_once_t once_control = PTHREAD_ONCE_INIT;
    3330
    34 pthread_once_t once_control = PTHREAD_ONCE_INIT;
    35 
    36 void initRoutine(void)
     31static void initRoutine(void)
    3732{
    3833}
    3934
    40 void benchmark_first_time(void)
     35static void benchmark_first_time(void)
    4136{
    4237  long end_time;
     
    5752}
    5853
    59 void *POSIX_Init(
     54static void *POSIX_Init(
    6055  void *argument
    6156)
     
    7166/* configuration information */
    7267
    73 #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
     68#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER
    7469#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
    7570
Note: See TracChangeset for help on using the changeset viewer.