Changeset f0bc7c2 in rtems-testing


Ignore:
Timestamp:
May 11, 2012, 2:30:38 PM (7 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 8895273c193787f84c4585a10f6d6aceb3b25dc4
Children:
8e20490
Parents:
07bc90a
Message:

Eliminate missing prototype warnings in templates

Location:
rtems-test-template
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • rtems-test-template/psxtest/init.c

    r07bc90a rf0bc7c2  
    11/*
    2  *  COPYRIGHT (c) 1989-2011.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    66 *  found in the file LICENSE in this distribution or at
    77 *  http://www.rtems.com/license/LICENSE.
    8  *
    9  *  $Id$
    108 */
    119
    1210#include <tmacros.h>
    1311#include "test_support.h"
     12
     13/* forward declarations to avoid warnings */
     14void *POSIX_Init(void *argument);
    1415
    1516void *POSIX_Init(
  • rtems-test-template/psxtest_with_thread/init.c

    r07bc90a rf0bc7c2  
    11/*
    2  *  COPYRIGHT (c) 1989-2011.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    66 *  found in the file LICENSE in this distribution or at
    77 *  http://www.rtems.com/license/LICENSE.
    8  *
    9  *  $Id$
    108 */
    119
     
    1311#include "test_support.h"
    1412#include <pthread.h>
     13
     14/* forward declarations to avoid warnings */
     15void *POSIX_Init(void *argument);
     16void *TestThread(void *argument);
    1517
    1618pthread_t ThreadId;
  • rtems-test-template/psxtmtest_blocking/init.c

    r07bc90a rf0bc7c2  
    11/*
    2  *  COPYRIGHT (c) 1989-2011.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    66 *  found in the file LICENSE in this distribution or at
    77 *  http://www.rtems.com/license/LICENSE.
    8  *
    9  *  $Id$
    108 */
    119
     
    2018
    2119#include <pthread.h>
     20
     21/* forward declarations to avoid warnings */
     22void *POSIX_Init(void *argument);
     23void *Middle(void *argument);
     24void *Low(void *argument);
    2225
    2326void *Low(
  • rtems-test-template/psxtmtest_single/init.c

    r07bc90a rf0bc7c2  
    11/*
    2  *  COPYRIGHT (c) 1989-2011.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    66 *  found in the file LICENSE in this distribution or at
    77 *  http://www.rtems.com/license/LICENSE.
    8  *
    9  *  $Id$
    108 */
    119
     
    1715#include <rtems/timerdrv.h>
    1816#include "test_support.h"
     17
     18/* forward declarations to avoid warnings */
     19void *POSIX_Init(void *argument);
     20void benchmark_NAME_OF_OPERATION(void);
    1921
    2022void benchmark_NAME_OF_OPERATION(void)
  • rtems-test-template/psxtmtest_unblocking_nopreempt/init.c

    r07bc90a rf0bc7c2  
    11/*
    2  *  COPYRIGHT (c) 1989-2011.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    66 *  found in the file LICENSE in this distribution or at
    77 *  http://www.rtems.com/license/LICENSE.
    8  *
    9  *  $Id$
    108 */
    119
     
    2119#include <sched.h>
    2220#include <rtems/timerdrv.h>
     21
     22/* forward declarations to avoid warnings */
     23void *POSIX_Init(void *argument);
     24void *Blocker(void *argument);
    2325
    2426pthread_mutex_t MutexId;
  • rtems-test-template/psxtmtest_unblocking_preempt/init.c

    r07bc90a rf0bc7c2  
    11/*
    2  *  COPYRIGHT (c) 1989-2011.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    66 *  found in the file LICENSE in this distribution or at
    77 *  http://www.rtems.com/license/LICENSE.
    8  *
    9  *  $Id$
    108 */
    119
     
    2119#include <sched.h>
    2220#include <rtems/timerdrv.h>
     21
     22/* forward declarations to avoid warnings */
     23void *POSIX_Init(void *argument);
     24void *Middle(void *argument);
     25void *Low(void *argument);
    2326
    2427pthread_mutex_t MutexId;
  • rtems-test-template/smptest/init.c

    r07bc90a rf0bc7c2  
    11/*
    2  *  COPYRIGHT (c) 1989-2011.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    66 *  found in the file LICENSE in this distribution or at
    77 *  http://www.rtems.com/license/LICENSE.
    8  *
    9  *  $Id$
    108 */
    119
    1210#include <tmacros.h>
    1311#include "test_support.h"
     12
     13/* forward declarations to avoid warnings */
     14rtems_task Init(rtems_task_argument argument);
     15rtems_task Test_task(rtems_task_argument argument);
    1416
    1517rtems_task Test_task(
  • rtems-test-template/sptest/init.c

    r07bc90a rf0bc7c2  
    11/*
    2  *  COPYRIGHT (c) 1989-2011.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    66 *  found in the file LICENSE in this distribution or at
    77 *  http://www.rtems.com/license/LICENSE.
    8  *
    9  *  $Id$
    108 */
    119
    1210#include <tmacros.h>
    1311#include "test_support.h"
     12
     13/* forward declarations to avoid warnings */
     14rtems_task Init(rtems_task_argument argument);
    1415
    1516rtems_task Init(
  • rtems-test-template/sptest_operation_from_tsr/init.c

    r07bc90a rf0bc7c2  
    11/*
    2  *  COPYRIGHT (c) 1989-2011.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    66 *  found in the file LICENSE in this distribution or at
    77 *  http://www.rtems.com/license/LICENSE.
    8  *
    9  *  $Id$
    108 */
    119
    1210#include <tmacros.h>
     11
     12/* forward declarations to avoid warnings */
     13rtems_task Init(rtems_task_argument argument);
     14rtems_timer_service_routine test_operation_from_isr(
     15  rtems_id  timer,
     16  void     *arg
     17);
    1318
    1419volatile bool operation_performed_from_tsr;
  • rtems-test-template/sptest_with_task/init.c

    r07bc90a rf0bc7c2  
    11/*
    2  *  COPYRIGHT (c) 1989-2011.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    66 *  found in the file LICENSE in this distribution or at
    77 *  http://www.rtems.com/license/LICENSE.
    8  *
    9  *  $Id$
    108 */
    119
    1210#include <tmacros.h>
    1311#include "test_support.h"
     12
     13/* forward declarations to avoid warnings */
     14rtems_task Init(rtems_task_argument argument);
     15rtems_task Test_task(rtems_task_argument argument);
    1416
    1517rtems_task Test_task(
  • rtems-test-template/tmtest/init.c

    r07bc90a rf0bc7c2  
    11/*
    2  *  COPYRIGHT (c) 1989-2011.
     2 *  COPYRIGHT (c) 1989-2012.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    66 *  found in the file LICENSE in this distribution or at
    77 *  http://www.rtems.com/license/LICENSE.
    8  *
    9  *  $Id$
    108 */
    119
     
    1412#include <timesys.h>
    1513#include "test_support.h"
     14
     15/* forward declarations to avoid warnings */
     16rtems_task Init(rtems_task_argument argument);
    1617
    1718rtems_task Init(
Note: See TracChangeset for help on using the changeset viewer.