Changeset 5f0cd34 in rtems


Ignore:
Timestamp:
May 12, 2012, 4:12:57 PM (7 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
721fe34
Parents:
3c8eda7
git-author:
Joel Sherrill <joel.sherrill@…> (05/12/12 16:12:57)
git-committer:
Joel Sherrill <joel.sherrill@…> (05/31/12 15:06:16)
Message:

samples - Eliminate missing prototype warnings

Location:
testsuites/samples
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • testsuites/samples/base_mp/init.c

    r3c8eda7 r5f0cd34  
    1 /*  Init
    2  *
    3  *  This routine is the initialization task for this test program.
    4  *  It is called from init_exec and has the responsibility for creating
    5  *  and starting the tasks that make up the test.  If the time of day
    6  *  clock is required for the application, the current time might be
    7  *  set by this task.
    8  *
    9  *  Input parameters:  NONE
    10  *
    11  *  Output parameters:  NONE
    12  *
    13  *  COPYRIGHT (c) 1989-1999.
     1/**
     2 *  COPYRIGHT (c) 1989-2012.
    143 *  On-Line Applications Research Corporation (OAR).
    154 *
     
    2615#include "system.h"
    2716#include <stdio.h>
     17
     18/* forward declarations to avoid warnings */
     19rtems_task Init(rtems_task_argument argument);
    2820
    2921rtems_task Init(
  • testsuites/samples/base_sp/init.c

    r3c8eda7 r5f0cd34  
    1 /*  Init
    2  *
    3  *  This routine is the initialization task for this test program.
    4  *  It is called from init_exec and has the responsibility for creating
    5  *  and starting the tasks that make up the test.  If the time of day
    6  *  clock is required for the application, the current time might be
    7  *  set by this task.
    8  *
    9  *  Input parameters:  NONE
    10  *
    11  *  Output parameters:  NONE
    12  *
    13  *  COPYRIGHT (c) 1989-2011.
     1/*
     2 *  COPYRIGHT (c) 1989-2012.
    143 *  On-Line Applications Research Corporation (OAR).
    154 *
     
    2716#include "tmacros.h"
    2817#include <stdio.h>
     18
     19/* forward declarations to avoid warnings */
     20rtems_task Init(rtems_task_argument argument);
    2921
    3022#define ARGUMENT 0
  • testsuites/samples/capture/init.c

    r3c8eda7 r5f0cd34  
    1 /*  Init
    2  *
    3  *  This routine is the initialization task for this test program.
    4  *  It is called from init_exec and has the responsibility for creating
    5  *  and starting the tasks that make up the test.  If the time of day
    6  *  clock is required for the test, it should also be set to a known
    7  *  value by this function.
    8  *
    9  *  Input parameters:  NONE
    10  *
    11  *  Output parameters:  NONE
    12  *
    13  *  COPYRIGHT (c) 1989-1997.
     1/*
     2 *  COPYRIGHT (c) 1989-2012.
    143 *  On-Line Applications Research Corporation (OAR).
    154 *
     
    3322#include <rtems/monitor.h>
    3423#include <rtems/shell.h>
     24
     25/* forward declarations to avoid warnings */
     26rtems_task Init(rtems_task_argument argument);
     27#if !BSP_SMALL_MEMORY
     28  static void notification(int fd, int seconds_remaining, void *arg);
     29#endif
    3530
    3631volatile int can_proceed = 1;
  • testsuites/samples/cdtest/init.c

    r3c8eda7 r5f0cd34  
    1 /*  Init
    2  *
    3  *  This routine is the initialization task for this test program.
    4  *  It is called from init_exec and has the responsibility for creating
    5  *  and starting the tasks that make up the test.  If the time of day
    6  *  clock is required for the test, it should also be set to a known
    7  *  value by this function.
    8  *
    9  *  Input parameters:  NONE
    10  *
    11  *  Output parameters:  NONE
    12  *
    13  *  COPYRIGHT (c) 1989-1999.
     1/*
     2 *  COPYRIGHT (c) 1989-2012.
    143 *  On-Line Applications Research Corporation (OAR).
    154 *
  • testsuites/samples/fileio/init.c

    r3c8eda7 r5f0cd34  
    1 /*  Init
    2  *
    3  *  This routine is the initialization task for this test program.
    4  *  It is called from init_exec and has the responsibility for creating
    5  *  and starting the tasks that make up the test.  If the time of day
    6  *  clock is required for the test, it should also be set to a known
    7  *  value by this function.
    8  *
    9  *  Input parameters:  NONE
    10  *
    11  *  Output parameters:  NONE
    12  *
    13  *  COPYRIGHT (c) 1989-2011.
     1/*
     2 *  COPYRIGHT (c) 1989-2012.
    143 *  On-Line Applications Research Corporation (OAR).
    154 *
  • testsuites/samples/hello/init.c

    r3c8eda7 r5f0cd34  
    1 /*  Init
    2  *
    3  *  This routine is the initialization task for this test program.
    4  *  It is called from init_exec and has the responsibility for creating
    5  *  and starting the tasks that make up the test.  If the time of day
    6  *  clock is required for the test, it should also be set to a known
    7  *  value by this function.
    8  *
    9  *  Input parameters:  NONE
    10  *
    11  *  Output parameters:  NONE
    12  *
    13  *  COPYRIGHT (c) 1989-1999.
     1/*
     2 *  COPYRIGHT (c) 1989-2012.
    143 *  On-Line Applications Research Corporation (OAR).
    154 *
     
    2716#include <stdio.h>
    2817#include <stdlib.h>
     18
     19/* forward declarations to avoid warnings */
     20rtems_task Init(rtems_task_argument argument);
    2921
    3022rtems_task Init(
  • testsuites/samples/loopback/init.c

    r3c8eda7 r5f0cd34  
     1/*
     2 *  The license and distribution terms for this file may be
     3 *  found in the file LICENSE in this distribution or at
     4 *  http://www.rtems.com/license/LICENSE.
     5 */
     6
    17#ifdef HAVE_CONFIG_H
    28#include "config.h"
  • testsuites/samples/minimum/init.c

    r3c8eda7 r5f0cd34  
    1 /*  Minimum Size Application Initialization
     1/**
     2 *  @file
    23 *
    3  *  COPYRIGHT (c) 1989-2008.
     4 *  Minimum Size Application Initialization
     5 */
     6
     7/*
     8 *  COPYRIGHT (c) 1989-2012.
    49 *  On-Line Applications Research Corporation (OAR).
    510 *
     
    1722#include <bsp.h>
    1823#include <rtems/score/thread.h>
     24
     25/* forward declarations to avoid warnings */
     26rtems_task Init(rtems_task_argument argument);
    1927
    2028rtems_task Init(
  • testsuites/samples/nsecs/init.c

    r3c8eda7 r5f0cd34  
    1 /*
     1/**
     2 *  @file
     3 *
    24 *  Nanoseconds accuracy timestamp test
    35 */
    46
    5 /*  COPYRIGHT (c) 1989-2011.
     7/*
     8 *  COPYRIGHT (c) 1989-2012.
    69 *  On-Line Applications Research Corporation (OAR).
    710 *
  • testsuites/samples/paranoia/init.c

    r3c8eda7 r5f0cd34  
    1 /*  Init
    2  *
    3  *  This routine is the initialization task for this test program.
    4  *  It is called from init_exec and has the responsibility for creating
    5  *  and starting the tasks that make up the test.  If the time of day
    6  *  clock is required for the test, it should also be set to a known
    7  *  value by this function.
    8  *
    9  *  Input parameters:  NONE
    10  *
    11  *  Output parameters:  NONE
    12  *
    13  *  COPYRIGHT (c) 1989-1999.
     1/*
     2 *  COPYRIGHT (c) 1989-2012.
    143 *  On-Line Applications Research Corporation (OAR).
    154 *
  • testsuites/samples/pppd/init.c

    r3c8eda7 r5f0cd34  
     1/*
     2 *  COPYRIGHT (c) 1989-2012.
     3 *  On-Line Applications Research Corporation (OAR).
     4 *
     5 *  The license and distribution terms for this file may be
     6 *  found in the file LICENSE in this distribution or at
     7 *  http://www.rtems.com/license/LICENSE.
     8 */
     9
    110#ifdef HAVE_CONFIG_H
    211#include "config.h"
    312#endif
    4 
    513
    614#include <stdio.h>
  • testsuites/samples/ticker/init.c

    r3c8eda7 r5f0cd34  
    1 /*  Init
    2  *
    3  *  This routine is the initialization task for this test program.
    4  *  It is called from init_exec and has the responsibility for creating
    5  *  and starting the tasks that make up the test.  If the time of day
    6  *  clock is required for the test, it should also be set to a known
    7  *  value by this function.
    8  *
    9  *  Input parameters:  NONE
    10  *
    11  *  Output parameters:  NONE
    12  *
    13  *  COPYRIGHT (c) 1989-2011.
     1/*
     2 *  COPYRIGHT (c) 1989-2012.
    143 *  On-Line Applications Research Corporation (OAR).
    154 *
  • testsuites/samples/unlimited/init.c

    r3c8eda7 r5f0cd34  
    1 /*  Init
    2  *
    3  *  This routine is the initialization task for this test program.
    4  *  It is called from init_exec and has the responsibility for creating
    5  *  and starting the tasks that make up the test.  If the time of day
    6  *  clock is required for the test, it should also be set to a known
    7  *  value by this function.
    8  *
    9  *  Input parameters:  NONE
    10  *
    11  *  Output parameters:  NONE
    12  *
    13  *  COPYRIGHT (c) 1989-1997.
     1/*
     2 *  COPYRIGHT (c) 1989-2012.
    143 *  On-Line Applications Research Corporation (OAR).
    154 *
    16  *  The license and distribution terms for this file may in
    17  *  the file LICENSE in this distribution or at
     5 *  The license and distribution terms for this file may be
     6 *  found in the file LICENSE in this distribution or at
    187 *  http://www.rtems.com/license/LICENSE.
    198 */
Note: See TracChangeset for help on using the changeset viewer.