Fix tosa_dac_recv warning
PATCH 1/1 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 <[email protected]>
--- hw/tosa.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
hw/tosa.c +1 -1
@@ -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 ;
Signature · 1 line
1.6.0.5
Aurelien Jarno
AppliedQuoted 10 lines · Nathan Froyd
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 <[email protected]>--- hw/tosa.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Thanks, applied.
Quoted 19 lines
hw/tosa.c +1
-1@@ -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 ;Signature · 1 line
1.6.0.5
Signature · 2 lines
Aurelien Jarno GPG: 1024D/F1BCDB73 [email protected] http://www.aurel32.net