Commit dfb021bc6d79344177e8e5b4a23b40d1d84cc0d8
1 parent
84a031c6
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
Showing
1 changed file
with
1 additions
and
1 deletions
hw/tosa.c
@@ -172,7 +172,7 @@ static void tosa_dac_event(i2c_slave *i2c, enum i2c_event event) | @@ -172,7 +172,7 @@ static void tosa_dac_event(i2c_slave *i2c, enum i2c_event event) | ||
172 | } | 172 | } |
173 | } | 173 | } |
174 | 174 | ||
175 | -int tosa_dac_recv(i2c_slave *s) | 175 | +static int tosa_dac_recv(i2c_slave *s) |
176 | { | 176 | { |
177 | printf("%s: recv not supported!!!\n", __FUNCTION__); | 177 | printf("%s: recv not supported!!!\n", __FUNCTION__); |
178 | return -1; | 178 | return -1; |