Changeset 991a3cc1 in rtems


Ignore:
Timestamp:
05/11/12 14:15:40 (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 5, master
Children:
a03d4453
Parents:
65c6425
Message:

psxtmtests - Eliminate missing prototype warnings

Location:
testsuites/psxtmtests
Files:
31 edited

Legend:

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

    r65c6425 r991a3cc1  
    11/*
    2  *  COPYRIGHT (c) 1989-2011.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    1616#include "test_support.h"
    1717#include <pthread.h>
     18
     19/* forward declarations to avoid warnings */
     20void *POSIX_Init(void *argument);
     21static void benchmark_pthread_barrier_init(void);
    1822
    1923pthread_barrier_t   barrier;
  • testsuites/psxtmtests/psxtmbarrier02/init.c

    r65c6425 r991a3cc1  
    11/*
    2  *  COPYRIGHT (c) 1989-2011.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    1919#include <pthread.h>
    2020#include <sched.h>
     21
     22/* forward declarations to avoid warnings */
     23void *POSIX_Init(void *argument);
     24void *Middle(void *argument);
     25void *Low(void *argument);
    2126
    2227pthread_barrier_t     barrier;
  • testsuites/psxtmtests/psxtmbarrier03/init.c

    r65c6425 r991a3cc1  
    11/*
    2  *  COPYRIGHT (c) 1989-2011.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    1919#include <sched.h>
    2020#include <rtems/timerdrv.h>
     21
     22/* forward declarations to avoid warnings */
     23void *POSIX_Init(void *argument);
     24void *Blocker(void *argument);
    2125
    2226#define N  2
  • testsuites/psxtmtests/psxtmkey01/init.c

    r65c6425 r991a3cc1  
    11/*
    2  *  COPYRIGHT (c) 1989-2011.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    1717#include <pthread.h>
    1818#include "test_support.h"
     19
     20/* forward declarations to avoid warnings */
     21void *POSIX_Init(void *argument);
    1922
    2023pthread_key_t Key;
  • testsuites/psxtmtests/psxtmkey02/init.c

    r65c6425 r991a3cc1  
    11/*
    2  *  COPYRIGHT (c) 1989-2011.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    1717#include <pthread.h>
    1818#include "test_support.h"
     19
     20/* forward declarations to avoid warnings */
     21void *POSIX_Init(void *argument);
     22void benchmark_pthread_setspecific(void *value_p);
     23void benchmark_pthread_getspecific( void *expected );
    1924
    2025pthread_key_t Key;
  • testsuites/psxtmtests/psxtmmq01/init.c

    r65c6425 r991a3cc1  
    11/*
    2  *  COPYRIGHT (c) 1989-2011.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    1919#include <mqueue.h>
    2020#include <signal.h>   /* signal facilities */
     21
     22/* forward declarations to avoid warnings */
     23void *POSIX_Init(void *argument);
    2124
    2225#define MQ_MAXMSG     1
  • testsuites/psxtmtests/psxtmmutex01/init.c

    r65c6425 r991a3cc1  
    11/*
    2  *  COPYRIGHT (c) 1989-2011.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    1717#include <pthread.h>
    1818#include "test_support.h"
     19
     20/* forward declarations to avoid warnings */
     21void *POSIX_Init(void *argument);
    1922
    2023pthread_mutex_t MutexId;
  • testsuites/psxtmtests/psxtmmutex02/init.c

    r65c6425 r991a3cc1  
    11/*
    2  *  COPYRIGHT (c) 1989-2010.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    1919#include <sched.h>
    2020#include <rtems/timerdrv.h>
     21
     22/* forward declarations to avoid warnings */
     23void *POSIX_Init(void *argument);
     24void *Middle(void *argument);
     25void *Low(void *argument);
    2126
    2227pthread_mutex_t MutexId;
  • testsuites/psxtmtests/psxtmmutex03/init.c

    r65c6425 r991a3cc1  
    11/*
    2  *  COPYRIGHT (c) 1989-2011.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    1717#include <pthread.h>
    1818#include "test_support.h"
     19
     20/* forward declarations to avoid warnings */
     21void *POSIX_Init(void *argument);
     22void benchmark_mutex_lock_available(void);
     23void benchmark_mutex_unlock_no_threads_waiting(void);
     24void benchmark_mutex_trylock_available(void);
     25void benchmark_mutex_trylock_not_available(void);
     26void benchmark_mutex_timedlock_available(void);
    1927
    2028pthread_mutex_t MutexId;
     
    7684  );
    7785}
    78 
    7986
    8087void benchmark_mutex_trylock_not_available(void)
  • testsuites/psxtmtests/psxtmmutex04/init.c

    r65c6425 r991a3cc1  
    11/*
    2  *  COPYRIGHT (c) 1989-2011.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    1919#include <pthread.h>
    2020#include <sched.h>
     21
     22/* forward declarations to avoid warnings */
     23void *POSIX_Init(void *argument);
     24void *Middle(void *argument);
     25void *Low(void *argument);
    2126
    2227pthread_mutex_t MutexId;
  • testsuites/psxtmtests/psxtmmutex05/init.c

    r65c6425 r991a3cc1  
    11/*
    2  *  COPYRIGHT (c) 1989-2011.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    1919#include <sched.h>
    2020#include <rtems/timerdrv.h>
     21
     22/* forward declarations to avoid warnings */
     23void *POSIX_Init(void *argument);
     24void *Blocker(void *argument);
    2125
    2226pthread_mutex_t MutexId;
  • testsuites/psxtmtests/psxtmmutex06/init.c

    r65c6425 r991a3cc1  
    11/*
    2  *  COPYRIGHT (c) 1989-2011.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    1919#include <sched.h>
    2020#include <rtems/timerdrv.h>
     21
     22/* forward declarations to avoid warnings */
     23void *POSIX_Init(void *argument);
     24void *Middle(void *argument);
     25void *Low(void *argument);
    2126
    2227pthread_mutex_t MutexId;
  • testsuites/psxtmtests/psxtmmutex07/init.c

    r65c6425 r991a3cc1  
    11/*
    2  *  COPYRIGHT (c) 1989-2011.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    1717#include <pthread.h>
    1818#include "test_support.h"
     19
     20/* forward declarations to avoid warnings */
     21void *POSIX_Init(void *argument);
     22void test_mutex_setprioceiling(void);
     23void test_mutex_getprioceiling(void);
    1924
    2025pthread_mutex_t MutexId;
  • testsuites/psxtmtests/psxtmnanosleep01/init.c

    r65c6425 r991a3cc1  
    11/*
    2  *  COPYRIGHT (c) 1989-2011.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    1515#include <rtems/timerdrv.h>
    1616#include "test_support.h"
     17
     18/* forward declarations to avoid warnings */
     19void *POSIX_Init(void *argument);
    1720
    1821void *POSIX_Init(
  • testsuites/psxtmtests/psxtmnanosleep02/init.c

    r65c6425 r991a3cc1  
    11/*
    2  *  COPYRIGHT (c) 1989-2011.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    1717
    1818#include <pthread.h>
     19
     20/* forward declarations to avoid warnings */
     21void *POSIX_Init(void *argument);
     22void *Middle(void *argument);
     23void *Low(void *argument);
    1924
    2025void *Low(
  • testsuites/psxtmtests/psxtmrwlock01/init.c

    r65c6425 r991a3cc1  
    11/*
    2  *  COPYRIGHT (c) 1989-2011.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    1717#include "test_support.h"
    1818
     19/* forward declarations to avoid warnings */
     20void *POSIX_Init(void *argument);
     21
    1922pthread_rwlock_t     rwlock;
    2023
  • testsuites/psxtmtests/psxtmrwlock02/init.c

    r65c6425 r991a3cc1  
    11/*
    2  *  COPYRIGHT (c) 1989-2011.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    1919#include <rtems/timerdrv.h>
    2020#include "test_support.h"
     21
     22/* forward declarations to avoid warnings */
     23void *POSIX_Init(void *argument);
     24void *Middle(void *argument);
     25void *Low(void *argument);
    2126
    2227pthread_rwlock_t     rwlock;
  • testsuites/psxtmtests/psxtmrwlock03/init.c

    r65c6425 r991a3cc1  
    11/*
    2  *  COPYRIGHT (c) 1989-2011.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    1919#include <rtems/timerdrv.h>
    2020#include "test_support.h"
     21
     22/* forward declarations to avoid warnings */
     23void *POSIX_Init(void *argument);
     24void *Middle(void *argument);
     25void *Low(void *argument);
    2126
    2227pthread_rwlock_t     rwlock;
  • testsuites/psxtmtests/psxtmrwlock04/init.c

    r65c6425 r991a3cc1  
    11/*
    2  *  COPYRIGHT (c) 1989-2011.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    1919#include <rtems/timerdrv.h>
    2020#include "test_support.h"
     21
     22/* forward declarations to avoid warnings */
     23void *POSIX_Init(void *argument);
     24void *Middle(void *argument);
     25void *Low(void *argument);
    2126
    2227pthread_rwlock_t     rwlock;
  • testsuites/psxtmtests/psxtmrwlock05/init.c

    r65c6425 r991a3cc1  
    11/*
    2  *  COPYRIGHT (c) 1989-2011.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    1919#include <rtems/timerdrv.h>
    2020#include "test_support.h"
     21
     22/* forward declarations to avoid warnings */
     23void *POSIX_Init(void *argument);
     24void *Middle(void *argument);
     25void *Low(void *argument);
    2126
    2227pthread_rwlock_t     rwlock;
  • testsuites/psxtmtests/psxtmrwlock06/init.c

    r65c6425 r991a3cc1  
    11/*
    2  *  COPYRIGHT (c) 1989-2011.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    1919#include "test_support.h"
    2020#include <rtems/timerdrv.h>
     21
     22/* forward declarations to avoid warnings */
     23void *POSIX_Init(void *argument);
     24void *Blocker(void *argument);
    2125
    2226pthread_rwlock_t     rwlock;
  • testsuites/psxtmtests/psxtmrwlock07/init.c

    r65c6425 r991a3cc1  
    11/*
    2  *  COPYRIGHT (c) 1989-2011.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    1919#include <sched.h>
    2020#include <rtems/timerdrv.h>
     21
     22/* forward declarations to avoid warnings */
     23void *POSIX_Init(void *argument);
     24void *Middle(void *argument);
     25void *Low(void *argument);
    2126
    2227pthread_rwlock_t     rwlock;
  • testsuites/psxtmtests/psxtmsem01/init.c

    r65c6425 r991a3cc1  
    11/*
    2  *  COPYRIGHT (c) 1989-2011.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    1919#include <rtems/timerdrv.h>
    2020#include "test_support.h"
     21
     22/* forward declarations to avoid warnings */
     23void *POSIX_Init(void *argument);
    2124
    2225#define MAX_SEMS  2
  • testsuites/psxtmtests/psxtmsem02/init.c

    r65c6425 r991a3cc1  
    11/*
    2  *  COPYRIGHT (c) 1989-2011.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    1919#include <rtems/timerdrv.h>
    2020#include "test_support.h"
     21
     22/* forward declarations to avoid warnings */
     23void *POSIX_Init(void *argument);
    2124
    2225sem_t           sem1;
  • testsuites/psxtmtests/psxtmsem03/init.c

    r65c6425 r991a3cc1  
    11/*
    2  *  COPYRIGHT (c) 1989-2011.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    2121#include <pthread.h>
    2222#include <sched.h>
     23
     24/* forward declarations to avoid warnings */
     25void *POSIX_Init(void *argument);
     26void *Middle(void *argument);
     27void *Low(void *argument);
    2328
    2429#define MAX_SEMS  2
  • testsuites/psxtmtests/psxtmsem04/init.c

    r65c6425 r991a3cc1  
    11/*
    2  *  COPYRIGHT (c) 1989-2011.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    2222#include <sched.h>
    2323#include <rtems/timerdrv.h>
     24
     25/* forward declarations to avoid warnings */
     26void *POSIX_Init(void *argument);
     27void *Blocker(void *argument);
    2428
    2529#define MAX_SEMS  2
  • testsuites/psxtmtests/psxtmsem05/init.c

    r65c6425 r991a3cc1  
    11/*
    2  *  COPYRIGHT (c) 1989-2011.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    2222#include <sched.h>
    2323#include <rtems/timerdrv.h>
     24
     25/* forward declarations to avoid warnings */
     26void *POSIX_Init(void *argument);
     27void *Middle(void *argument);
     28void *Low(void *argument);
    2429
    2530#define MAX_SEMS  2
  • testsuites/psxtmtests/psxtmsleep01/init.c

    r65c6425 r991a3cc1  
    11/*
    2  *  COPYRIGHT (c) 1989-2011.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    1717
    1818#include <unistd.h>
     19
     20/* forward declarations to avoid warnings */
     21void *POSIX_Init(void *argument);
    1922
    2023void *POSIX_Init(
  • testsuites/psxtmtests/psxtmsleep02/init.c

    r65c6425 r991a3cc1  
    11/*
    2  *  COPYRIGHT (c) 1989-2011.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    1717
    1818#include <pthread.h>
     19
     20/* forward declarations to avoid warnings */
     21void *POSIX_Init(void *argument);
     22void *Middle(void *argument);
     23void *Low(void *argument);
    1924
    2025void *Low(
  • testsuites/psxtmtests/psxtmthread01/init.c

    r65c6425 r991a3cc1  
    11/*
    2  *  COPYRIGHT (c) 1989-2010.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    1818
    1919#include <pthread.h>
     20
     21/* forward declarations to avoid warnings */
     22void *POSIX_Init(void *argument);
     23void *TestThread(void *argument);
    2024
    2125pthread_t ThreadId;
  • testsuites/psxtmtests/psxtmthread03/init.c

    r65c6425 r991a3cc1  
    11/*
    2  *  COPYRIGHT (c) 1989-2010.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    1919#include <sched.h>
    2020#include <rtems/timerdrv.h>
     21
     22/* forward declarations to avoid warnings */
     23void *POSIX_Init(void *argument);
     24void *Middle(void *argument);
     25void *Low(void *argument);
    2126
    2227void *Low(
Note: See TracChangeset for help on using the changeset viewer.