forked from pool/pulseaudio
34 lines
1.3 KiB
Diff
34 lines
1.3 KiB
Diff
|
From fd5c802ecb5ae5ed9b294422410761126a37d1b3 Mon Sep 17 00:00:00 2001
|
||
|
From: Daniel T Chen <crimsun@ubuntu.com>
|
||
|
Date: Wed, 16 Dec 2009 22:53:18 -0500
|
||
|
Subject: [PATCH] Fix the following warnings (which now cause buildd failures in Ubuntu 10.04):
|
||
|
|
||
|
pulsecore/cpu-arm.c: In function 'get_cpuinfo':
|
||
|
pulsecore/cpu-arm.c:70: warning: implicit declaration of function 'pa_read' [-Wimplicit-function-declaration]
|
||
|
pulsecore/cpu-arm.c:72: warning: implicit declaration of function 'pa_close' [-Wimplicit-function-declaration]
|
||
|
pulsecore/cpu-arm.c: In function 'pa_cpu_init_arm':
|
||
|
pulsecore/cpu-arm.c:110: warning: implicit declaration of function 'pa_split_spaces' [-Wimplicit-function-declaration]
|
||
|
pulsecore/cpu-arm.c:110: warning: assignment makes pointer from integer without a cast
|
||
|
Function `pa_split_spaces' implicitly converted to pointer at pulsecore/cpu-arm.c:110
|
||
|
|
||
|
Signed-off-by: Daniel T Chen <crimsun@ubuntu.com>
|
||
|
---
|
||
|
src/pulsecore/cpu-arm.c | 1 +
|
||
|
1 files changed, 1 insertions(+), 0 deletions(-)
|
||
|
|
||
|
diff --git a/src/pulsecore/cpu-arm.c b/src/pulsecore/cpu-arm.c
|
||
|
index 61299cc..56d0bbc 100644
|
||
|
--- a/src/pulsecore/cpu-arm.c
|
||
|
+++ b/src/pulsecore/cpu-arm.c
|
||
|
@@ -30,6 +30,7 @@
|
||
|
#include <fcntl.h>
|
||
|
|
||
|
#include <pulse/xmalloc.h>
|
||
|
+#include <pulsecore/core-util.h>
|
||
|
#include <pulsecore/log.h>
|
||
|
|
||
|
#include "cpu-arm.h"
|
||
|
--
|
||
|
1.6.0.2
|
||
|
|