diff options
| author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-02-07 15:19:40 +0000 |
|---|---|---|
| committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-02-07 15:19:40 +0000 |
| commit | dfb021bc6d79344177e8e5b4a23b40d1d84cc0d8 (patch) | |
| tree | ac68317a6bdc86c6e4edb20d3d177796ef587622 /hw/tosa.c | |
| parent | 84a031c68fd657f2973e7c2ce0207588c66fbd58 (diff) | |
| download | focaccia-qemu-dfb021bc6d79344177e8e5b4a23b40d1d84cc0d8.tar.gz focaccia-qemu-dfb021bc6d79344177e8e5b4a23b40d1d84cc0d8.zip | |
Fix tosa_dac_recv warning
This patch fixes: /scratch/froydnj/qemu.git/hw/tosa.c:176: warning: no previous prototype for 'tosa_dac_recv' by making the function static. Signed-off-by: Nathan Froyd <froydnj@codesourcery.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6551 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/tosa.c')
| -rw-r--r-- | hw/tosa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/tosa.c b/hw/tosa.c index 64ebaa412b..6702b6b99a 100644 --- a/hw/tosa.c +++ b/hw/tosa.c @@ -172,7 +172,7 @@ static void tosa_dac_event(i2c_slave *i2c, enum i2c_event event) } } -int tosa_dac_recv(i2c_slave *s) +static int tosa_dac_recv(i2c_slave *s) { printf("%s: recv not supported!!!\n", __FUNCTION__); return -1; |