From 1dd1a705b58f1645cda679b88a2629d21adcbd07 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 15 Oct 2013 09:13:22 +0200 Subject: gcc.h: major update Copy the according file from another project (i.e. XCSoar). This will allow copying more code more easily. --- src/pcm/PcmFormat.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/pcm/PcmFormat.cxx') diff --git a/src/pcm/PcmFormat.cxx b/src/pcm/PcmFormat.cxx index 6425c7cfd..b4307ca1f 100644 --- a/src/pcm/PcmFormat.cxx +++ b/src/pcm/PcmFormat.cxx @@ -195,9 +195,9 @@ pcm_convert_16_to_24(int32_t *out, const int16_t *in, const int16_t *in_end) } static void -pcm_convert_32_to_24(int32_t *restrict out, - const int32_t *restrict in, - const int32_t *restrict in_end) +pcm_convert_32_to_24(int32_t *gcc_restrict out, + const int32_t *gcc_restrict in, + const int32_t *gcc_restrict in_end) { while (in < in_end) *out++ = *in++ >> 8; @@ -300,9 +300,9 @@ pcm_convert_16_to_32(int32_t *out, const int16_t *in, const int16_t *in_end) } static void -pcm_convert_24_to_32(int32_t *restrict out, - const int32_t *restrict in, - const int32_t *restrict in_end) +pcm_convert_24_to_32(int32_t *gcc_restrict out, + const int32_t *gcc_restrict in, + const int32_t *gcc_restrict in_end) { while (in < in_end) *out++ = *in++ << 8; -- cgit v1.2.3