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:
Ralf Corsepius
2011-12-11 06:49:22 +00:00
parent d71462b4eb
commit 436ef337de
3 changed files with 27 additions and 6 deletions

View 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 */

View File

@@ -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 )
{

View File

@@ -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,