From 9203f5202bf4bc7e4669ba19d3e6aac7761bd385 Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Tue, 6 Oct 2009 12:16:53 +0100 Subject: Make NICInfo string fields non-const We now only assign strdup()ed strings to these fields, never static strings. aliguori: fix build for ppc_prep and mips_jazz Signed-off-by: Mark McLoughlin Signed-off-by: Anthony Liguori --- net.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'net.h') diff --git a/net.h b/net.h index dfce8d651..a36df45ac 100644 --- a/net.h +++ b/net.h @@ -95,10 +95,10 @@ enum { struct NICInfo { uint8_t macaddr[6]; - const char *model; - const char *name; - const char *devaddr; - const char *id; + char *model; + char *name; + char *devaddr; + char *id; VLANState *vlan; VLANClientState *vc; void *private; -- cgit v1.2.3