mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
guestfs___validate_guid was a new function added to utils.c in commitbeef77403c. However utils.c should not include <guestfs-internal.h> since the other functions in this file can be used by all front-end code, not just libguestfs.so. This function is only needed in libguestfs.so, so move it to another source file, and remove include of <guestfs-internal.h> from utils.c. Also: use 'size_t' for counting, not 'int'. This fixes commitbeef77403c.