aboutsummaryrefslogtreecommitdiff
path: root/hw/adb.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2012-10-28 11:04:49 +0000
committerStefan Hajnoczi <stefanha@redhat.com>2012-11-01 19:49:45 +0100
commit434482925ee11091fc111bd2a86de0b677b3e943 (patch)
tree8b9c252caee1a49d18ee974b004d4fdcbbadc037 /hw/adb.c
parent71a8cdeca095acb2a67924de870f4ee8da5b8803 (diff)
ppc: add missing static
Add missing 'static' qualifiers. Signed-off-by: Blue Swirl <blauwirbel@gmail.com> Acked-by: Alexander Graf <agraf@suse.de> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/adb.c')
-rw-r--r--hw/adb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/adb.c b/hw/adb.c
index aa15f55dc9..3b547f0af7 100644
--- a/hw/adb.c
+++ b/hw/adb.c
@@ -108,10 +108,10 @@ int adb_poll(ADBBusState *s, uint8_t *obuf)
return olen;
}
-ADBDevice *adb_register_device(ADBBusState *s, int devaddr,
- ADBDeviceRequest *devreq,
- ADBDeviceReset *devreset,
- void *opaque)
+static ADBDevice *adb_register_device(ADBBusState *s, int devaddr,
+ ADBDeviceRequest *devreq,
+ ADBDeviceReset *devreset,
+ void *opaque)
{
ADBDevice *d;
if (s->nb_devices >= MAX_ADB_DEVICES)