forked from Imagelibrary/rtems
psxtests - Eliminate missing prototype warnings
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
/* Task_1
|
||||
/**
|
||||
* @file
|
||||
*
|
||||
* Task_1
|
||||
*
|
||||
* This routine serves as a test task. It verifies the basic task
|
||||
* switching capabilities of the executive.
|
||||
*
|
||||
* Input parameters:
|
||||
* argument - task argument
|
||||
*
|
||||
* Output parameters: NONE
|
||||
*
|
||||
* COPYRIGHT (c) 1989-2009.
|
||||
*/
|
||||
|
||||
/*
|
||||
* COPYRIGHT (c) 1989-2012.
|
||||
* On-Line Applications Research Corporation (OAR).
|
||||
*
|
||||
* The license and distribution terms for this file may be
|
||||
@@ -24,6 +24,13 @@
|
||||
#include <time.h>
|
||||
#include <sched.h>
|
||||
|
||||
/* forward declarations to avoid warnings */
|
||||
void diff_timespec(
|
||||
struct timespec *start,
|
||||
struct timespec *stop,
|
||||
struct timespec *result
|
||||
);
|
||||
|
||||
void diff_timespec(
|
||||
struct timespec *start,
|
||||
struct timespec *stop,
|
||||
|
||||
Reference in New Issue
Block a user