diff options
author | Eduardo Valentin <eduardo.valentin@indt.org.br> | 2006-11-07 11:32:10 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2006-11-07 11:32:10 +0100 |
commit | ee4bcb2f731616dbe89bc04f60ecbd6e790898d0 (patch) | |
tree | 2cbcd0cbb327c5be9937fa943cc51f91b9840dbc /maemo/dsp-protocol.h | |
parent | 8f2bc849bb419221dc08370fd6439632eeae2c1a (diff) |
Alsa support for Maemo SDK (n770) - Remove compile warnings
Here is a patch to remove compile warnings. It must be applied
after last patch set I sent.
This patch simply changes signedness of some point from the code
to match the correct sign used by dsp-protocol structures. All must
use unsigned variables.
It also changes the way the pthread_mutex is initialized. The
warning about pthreads is also removed.
I tested the compilation with:
gcc (GCC) 4.1.2 20061028 (prerelease) (Debian 4.1.1-19)
and
sbox-arm-linux-gcc (GCC) 3.4.4 (release) (CodeSourcery ARM 2005q3-2)
Signed-off-by: Eduardo Valentin <eduardo.valentin@indt.org.br>
Diffstat (limited to 'maemo/dsp-protocol.h')
-rw-r--r-- | maemo/dsp-protocol.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/maemo/dsp-protocol.h b/maemo/dsp-protocol.h index be5d554..d3f2711 100644 --- a/maemo/dsp-protocol.h +++ b/maemo/dsp-protocol.h @@ -24,7 +24,7 @@ #ifndef _DSP_PROTOCOL_H #define _DSP_PROTOCOL_H -#define _GNU_SOURCE +#define __USE_GNU #include <features.h> #include <pthread.h> #include <semaphore.h> |