On Thu, Dec 09, 2021 at 09:05:45AM +0000, Richard W.M. Jones wrote:
diff --git a/utils/guestfs-utils.h b/utils/guestfs-utils.h
index b5f5f3ca4..b1d923e0e 100644
--- a/utils/guestfs-utils.h
+++ b/utils/guestfs-utils.h
@@ -67,6 +67,7 @@ extern int guestfs_int_is_lnk (int64_t mode);
extern int guestfs_int_is_sock (int64_t mode);
extern char *guestfs_int_full_path (const char *dir, const char *name);
extern void guestfs_int_hexdump (const void *data, size_t len, FILE *fp);
+const char *guestfs_int_strerror (int errnum, char *buf, size_t buflen);
That should be extern. I wonder why that didn't give an error?
Anyway, fixed in my local copy.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html