[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 3/4] Give parse_macaddr() external linkage
From: |
Markus Armbruster |
Subject: |
[Qemu-devel] [PATCH 3/4] Give parse_macaddr() external linkage |
Date: |
Thu, 30 Apr 2009 18:03:47 +0200 |
This is to make it available for the machine description stuff in the
following commit.
Signed-off-by: Markus Armbruster <address@hidden>
---
net.c | 2 +-
net.h | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/net.c b/net.c
index 7ae1e6d..80d14c2 100644
--- a/net.c
+++ b/net.c
@@ -158,7 +158,7 @@ static void hex_dump(FILE *f, const uint8_t *buf, int size)
}
#endif
-static int parse_macaddr(uint8_t *macaddr, const char *p)
+int parse_macaddr(uint8_t *macaddr, const char *p)
{
int i;
char *last_char;
diff --git a/net.h b/net.h
index cdf63a4..fd33165 100644
--- a/net.h
+++ b/net.h
@@ -61,6 +61,7 @@ int qemu_can_send_packet(VLANClientState *vc);
ssize_t qemu_sendv_packet(VLANClientState *vc, const struct iovec *iov,
int iovcnt);
void qemu_send_packet(VLANClientState *vc, const uint8_t *buf, int size);
+int parse_macaddr(uint8_t *macaddr, const char *p);
void qemu_format_nic_info_str(VLANClientState *vc, uint8_t macaddr[6]);
void qemu_check_nic_model(NICInfo *nd, const char *model);
void qemu_check_nic_model_list(NICInfo *nd, const char * const *models,
--
1.6.0.6
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PATCH 3/4] Give parse_macaddr() external linkage,
Markus Armbruster <=