diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-03-28 13:44:45 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-03-29 07:42:43 +0200 |
commit | 954ca410553f4c65c25700e077d6dca608ef471c (patch) | |
tree | 31f731bc0a0202b7facbba8bc97de2e2ec0b2944 /testsuites/benchmarks/dhrystone/dhry_2.c | |
parent | benchmarks/dhrystone: Import (diff) | |
download | rtems-954ca410553f4c65c25700e077d6dca608ef471c.tar.bz2 |
benchmarks/dhrystone: Port to RTEMS
Update #2958.
Diffstat (limited to 'testsuites/benchmarks/dhrystone/dhry_2.c')
-rw-r--r-- | testsuites/benchmarks/dhrystone/dhry_2.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/testsuites/benchmarks/dhrystone/dhry_2.c b/testsuites/benchmarks/dhrystone/dhry_2.c index 63a3d3ea03..94a72eb487 100644 --- a/testsuites/benchmarks/dhrystone/dhry_2.c +++ b/testsuites/benchmarks/dhrystone/dhry_2.c @@ -17,6 +17,8 @@ #include "dhry.h" +#include <string.h> + #ifndef REG #define REG /* REG becomes defined as empty */ @@ -27,7 +29,7 @@ extern int Int_Glob; extern char Ch_1_Glob; -Proc_6 (Enum_Val_Par, Enum_Ref_Par) +void Proc_6 (Enum_Val_Par, Enum_Ref_Par) /*********************************/ /* executed once */ /* Enum_Val_Par == Ident_3, Enum_Ref_Par becomes Ident_2 */ @@ -61,7 +63,7 @@ Enumeration *Enum_Ref_Par; } /* Proc_6 */ -Proc_7 (Int_1_Par_Val, Int_2_Par_Val, Int_Par_Ref) +void Proc_7 (Int_1_Par_Val, Int_2_Par_Val, Int_Par_Ref) /**********************************************/ /* executed three times */ /* first call: Int_1_Par_Val == 2, Int_2_Par_Val == 3, */ @@ -81,7 +83,7 @@ One_Fifty *Int_Par_Ref; } /* Proc_7 */ -Proc_8 (Arr_1_Par_Ref, Arr_2_Par_Ref, Int_1_Par_Val, Int_2_Par_Val) +void Proc_8 (Arr_1_Par_Ref, Arr_2_Par_Ref, Int_1_Par_Val, Int_2_Par_Val) /*********************************************************************/ /* executed once */ /* Int_Par_Val_1 == 3 */ |