diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2008-09-11 00:33:58 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2008-09-11 00:33:58 +0000 |
commit | 0b840b0009b72fe7f4bb0eb8c185fdb779d560bd (patch) | |
tree | 33abae87d83aa5e0cca93f445afed1986f0e7144 /newlib/libc | |
parent | 9ecc83a3f7a3d4c2ee93bf3da38dbd90826fe84c (diff) | |
download | cygnal-0b840b0009b72fe7f4bb0eb8c185fdb779d560bd.tar.gz cygnal-0b840b0009b72fe7f4bb0eb8c185fdb779d560bd.tar.bz2 cygnal-0b840b0009b72fe7f4bb0eb8c185fdb779d560bd.zip |
2008-09-10 Ken Werner <ken.werner@de.ibm.com>
* libc/machine/spu/strcpy.h: Add missing header.
* libc/machine/spu/spu_timer_slih.c: Remove unused Variable.
* libm/machine/spu/headers/lgammaf4.h: Add type cast.
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/machine/spu/spu_timer_slih.c | 2 | ||||
-rw-r--r-- | newlib/libc/machine/spu/strcpy.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/newlib/libc/machine/spu/spu_timer_slih.c b/newlib/libc/machine/spu/spu_timer_slih.c index 93cfa5ea2..8b54b1362 100644 --- a/newlib/libc/machine/spu/spu_timer_slih.c +++ b/newlib/libc/machine/spu/spu_timer_slih.c @@ -55,7 +55,7 @@ __reset_spu_decr (int val) value is the current timeout value minus the current decrementer value. Occasionally the read returns 0 - a second read will clear this condition. */ - int decval0 = spu_readch (SPU_RdDec); + spu_readch (SPU_RdDec); int decval = spu_readch (SPU_RdDec); /* Restart decrementer with next timeout val. */ __enable_spu_decr (enable_val, mask); diff --git a/newlib/libc/machine/spu/strcpy.h b/newlib/libc/machine/spu/strcpy.h index b407eaf5b..9040575ec 100644 --- a/newlib/libc/machine/spu/strcpy.h +++ b/newlib/libc/machine/spu/strcpy.h @@ -30,6 +30,7 @@ #include <spu_intrinsics.h> #include "vec_literal.h" +#include <string.h> /* * Supply an inline _strncpy for strcpy/cat and strncpy/cat. Relies on |