# HG changeset patch
# User Dan Smith <danms(a)us.ibm.com>
# Date 1195491599 28800
# Node ID 7a114401c8ede2268fb291d713c0b1e4715b0b8d
# Parent 66f0dde5f3fd81a495a1597033e180e251817054
Make parse_fq_devid() take a const char *
...like it should have from the beginning
Signed-off-by: Dan Smith <danms(a)us.ibm.com>
diff -r 66f0dde5f3fd -r 7a114401c8ed libxkutil/device_parsing.c
--- a/libxkutil/device_parsing.c Mon Nov 19 08:00:03 2007 -0800
+++ b/libxkutil/device_parsing.c Mon Nov 19 08:59:59 2007 -0800
@@ -447,7 +447,7 @@ char *get_fq_devid(char *host, char *_de
return devid;
}
-int parse_fq_devid(char *devid, char **host, char **device)
+int parse_fq_devid(const char *devid, char **host, char **device)
{
int ret;
diff -r 66f0dde5f3fd -r 7a114401c8ed libxkutil/device_parsing.h
--- a/libxkutil/device_parsing.h Mon Nov 19 08:00:03 2007 -0800
+++ b/libxkutil/device_parsing.h Mon Nov 19 08:59:59 2007 -0800
@@ -109,7 +109,7 @@ void cleanup_virt_devices(struct virt_de
void cleanup_virt_devices(struct virt_device **devs, int count);
char *get_fq_devid(char *host, char *_devid);
-int parse_fq_devid(char *devid, char **host, char **device);
+int parse_fq_devid(const char *devid, char **host, char **device);
int attach_device(virDomainPtr dom, struct virt_device *dev);
int detach_device(virDomainPtr dom, struct virt_device *dev);