diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-04-17 04:49:05 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-04-17 04:49:05 +0000 |
commit | ada7b9e142473199ae41aef86360931c90252944 (patch) | |
tree | eb2fd6888044b57a955ff8e0d2daa0ebb66a18ad /cpukit/score/cpu/sparc/rtems/score/cpu.h | |
parent | Use Context_Control_fp* instead of void* for fp_contexts. Eliminate evil casts. (diff) | |
download | rtems-ada7b9e142473199ae41aef86360931c90252944.tar.bz2 |
Use Context_Control_fp* instead of void* for fp_contexts. Eliminate evil casts.
Diffstat (limited to 'cpukit/score/cpu/sparc/rtems/score/cpu.h')
-rw-r--r-- | cpukit/score/cpu/sparc/rtems/score/cpu.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/score/cpu/sparc/rtems/score/cpu.h b/cpukit/score/cpu/sparc/rtems/score/cpu.h index 27ea69f0b1..900b258d3e 100644 --- a/cpukit/score/cpu/sparc/rtems/score/cpu.h +++ b/cpukit/score/cpu/sparc/rtems/score/cpu.h @@ -811,7 +811,7 @@ void _CPU_Context_Initialize( #define _CPU_Context_Initialize_fp( _destination ) \ do { \ - *((Context_Control_fp *) *((void **) _destination)) = _CPU_Null_fp_context; \ + *(*(_destination)) = _CPU_Null_fp_context; \ } while (0) /* end of Context handler macros */ @@ -944,7 +944,7 @@ void _CPU_Context_restore( */ void _CPU_Context_save_fp( - void **fp_context_ptr + Context_Control_fp **fp_context_ptr ); /* @@ -954,7 +954,7 @@ void _CPU_Context_save_fp( */ void _CPU_Context_restore_fp( - void **fp_context_ptr + Context_Control_fp **fp_context_ptr ); /* |