projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84a031c
)
Fix tosa_dac_recv warning
author
aurel32
<aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 7 Feb 2009 15:19:40 +0000
(15:19 +0000)
committer
aurel32
<aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 7 Feb 2009 15:19:40 +0000
(15:19 +0000)
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
hw/tosa.c
patch
|
blob
|
history
diff --git
a/hw/tosa.c
b/hw/tosa.c
index 64ebaa412b5280571712ad6ec9282f157775f51d..6702b6b99afd8c31d9c658e52598c9e8a7c8c7b8 100644
(file)
--- 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;