From 5303f5f325d2c26e34d6e249ee0ff66cbf59303c Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 27 Jan 2014 19:57:44 +0100 Subject: ass_utils: don't include freetype headers They're not even used. --- libass/ass_utils.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libass/ass_utils.c b/libass/ass_utils.c index 549eb9b..9d52eca 100644 --- a/libass/ass_utils.c +++ b/libass/ass_utils.c @@ -21,8 +21,6 @@ #include #include #include -#include -#include FT_GLYPH_H #include #include "ass_library.h" -- cgit v1.2.3 From dcbfeb1e25e6e9ce633a8a8c27ee137daea1cb54 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 27 Jan 2014 19:58:43 +0100 Subject: ass_utils: fix declarations Now they're the same as in ass_utils.h. --- libass/ass_utils.c | 6 +++--- 1 file 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); -- cgit v1.2.3