Skip to contentSkip to conversation

[6551] Fix tosa_dac_recv warning

Qemu-devel Aurelien Jarno 1 participant 1 message Feb 7, 2009

lore
Share & tools
lore
#0 lore raw

Revision: 6551

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6551
Author:   aurel32
Date:     2009-02-07 15:19:40 +0000 (Sat, 07 Feb 2009)

Log Message:
-----------
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.

Modified Paths:
--------------
trunk/hw/tosa.c

Modified: trunk/hw/tosa.c
===================================================================

hw/tosa.c +1 -1
@@ -172,7 +172,7 @@
     }
 }
 
-int tosa_dac_recv(i2c_slave *s)
+static int tosa_dac_recv(i2c_slave *s)
 {
     printf("%s: recv not supported!!!\n", __FUNCTION__);
     return -1;