qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [6551] Fix tosa_dac_recv warning


From: Aurelien Jarno
Subject: [Qemu-devel] [6551] Fix tosa_dac_recv warning
Date: Sat, 07 Feb 2009 15:19:41 +0000

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.

Signed-off-by: Nathan Froyd <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>

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

Modified: trunk/hw/tosa.c
===================================================================
--- trunk/hw/tosa.c     2009-02-07 15:19:20 UTC (rev 6550)
+++ trunk/hw/tosa.c     2009-02-07 15:19:40 UTC (rev 6551)
@@ -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;






reply via email to

[Prev in Thread] Current Thread [Next in Thread]