summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-05-20 21:17:16 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-05-20 21:17:16 +0200
commit046552bc9db04ec6296fb8054b5d44270b0b9b0e (patch)
treeaeb82c9c2799decbfd9c16196bc0df9ce23a4026
parent35bde472b5455bab19157922dab06a5c2864bced (diff)
downloadxine-lib-046552bc9db04ec6296fb8054b5d44270b0b9b0e.tar.gz
xine-lib-046552bc9db04ec6296fb8054b5d44270b0b9b0e.tar.bz2
Make xine_mm_accel() appear like a constant function.
Its result will be always the same during execution, as it depends on the hardware present. --HG-- extra : transplant_source : %F2%D1%1A%84%0F%D4%08%C0%12%09%1A%BBb%7Ef%CC%F2%FB%A3t
-rw-r--r--src/xine-utils/xineutils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xine-utils/xineutils.h b/src/xine-utils/xineutils.h
index 89aff96bf..c3808e3c3 100644
--- a/src/xine-utils/xineutils.h
+++ b/src/xine-utils/xineutils.h
@@ -125,7 +125,7 @@ extern "C" {
#define MM_SSE MM_ACCEL_X86_SSE
#define MM_SSE2 MM_ACCEL_X86_SSE2
-uint32_t xine_mm_accel (void) XINE_PROTECTED;
+uint32_t xine_mm_accel (void) XINE_CONST XINE_PROTECTED;
#if defined(ARCH_X86) || defined(ARCH_X86_64)