forked from Imagelibrary/rtems
2011-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/include/tmtests_empty_function.h: New. * support/src/tmtests_empty_function.c, support/src/tmtests_support.c: Include "tmtests_empty_function.h". Remove local decls (Missing prototypes).
This commit is contained in:
25
testsuites/support/include/tmtests_empty_function.h
Normal file
25
testsuites/support/include/tmtests_empty_function.h
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
* Prototypes for RTEMS tmtests_empty_function.c.
|
||||
*
|
||||
* COPYRIGHT (c) 2011, Ralf Corsépius, Ulm/Germany.
|
||||
*
|
||||
* The license and distribution terms for this file may be
|
||||
* found in the file LICENSE in this distribution or at
|
||||
* http://www.rtems.com/license/LICENSE.
|
||||
*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#ifndef _TMTESTS_EMPTY_FUNCTION_H
|
||||
#define _TMTESTS_EMPTY_FUNCTION_H
|
||||
|
||||
#include <rtems/rtems/status.h>
|
||||
|
||||
extern rtems_status_code benchmark_timer_empty_function( void );
|
||||
|
||||
extern void benchmark_timer_empty_operation(
|
||||
int iteration,
|
||||
void *argument
|
||||
);
|
||||
|
||||
#endif /* _TMTESTS_EMPTY_FUNCTION_H */
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#include <rtems.h>
|
||||
|
||||
rtems_status_code benchmark_timer_empty_function( void );
|
||||
#include "tmtests_empty_function.h"
|
||||
|
||||
rtems_status_code benchmark_timer_empty_function( void )
|
||||
{
|
||||
|
||||
@@ -19,11 +19,7 @@
|
||||
#include <rtems/timerdrv.h>
|
||||
#include "test_support.h"
|
||||
#include "timesys.h"
|
||||
|
||||
extern void benchmark_timer_empty_operation(
|
||||
int iteration,
|
||||
void *argument
|
||||
);
|
||||
#include "tmtests_empty_function.h"
|
||||
|
||||
void rtems_time_test_measure_operation(
|
||||
const char *description,
|
||||
|
||||
Reference in New Issue
Block a user