summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-01-27 19:58:43 +0100
committerwm4 <wm4@nowhere>2014-01-27 19:58:43 +0100
commitdcbfeb1e25e6e9ce633a8a8c27ee137daea1cb54 (patch)
tree3422aa8327562ea302ec69623b820c82f48958a7
parent5303f5f325d2c26e34d6e249ee0ff66cbf59303c (diff)
downloadlibass-dcbfeb1e25e6e9ce633a8a8c27ee137daea1cb54.tar.bz2
libass-dcbfeb1e25e6e9ce633a8a8c27ee137daea1cb54.tar.xz
ass_utils: fix declarations
Now they're the same as in ass_utils.h.
-rw-r--r--libass/ass_utils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libass/ass_utils.c b/libass/ass_utils.c
index 9d52eca..72993d7 100644
--- a/libass/ass_utils.c
+++ b/libass/ass_utils.c
@@ -31,14 +31,14 @@
#include "x86/cpuid.h"
-int has_sse2()
+int has_sse2(void)
{
uint32_t eax = 1, ebx, ecx, edx;
ass_get_cpuid(&eax, &ebx, &ecx, &edx);
return (!!(edx & (1 << 26)));
}
-int has_avx()
+int has_avx(void)
{
uint32_t eax = 1, ebx, ecx, edx;
ass_get_cpuid(&eax, &ebx, &ecx, &edx);
@@ -54,7 +54,7 @@ int has_avx()
return (!!(misc & (1 << 28)));
}
-int has_avx2()
+int has_avx2(void)
{
uint32_t eax = 7, ebx, ecx, edx;
ass_get_cpuid(&eax, &ebx, &ecx, &edx);