]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: make return value of virUUIDFormat and virMacAddrFormat useful
authorLaine Stump <laine@laine.org>
Thu, 2 Aug 2012 18:06:58 +0000 (14:06 -0400)
committerLaine Stump <laine@laine.org>
Tue, 14 Aug 2012 19:47:02 +0000 (15:47 -0400)
commit85d9c17d7097ecd8f1259313bea6b7b719c99e5e
treecf71246fab82c2e1b51ca13ebdc729895ccd273b
parent37f3cd416c6150246cc55279ac78a548ff70d41f
util: make return value of virUUIDFormat and virMacAddrFormat useful

Both of these functions returned void, but it's convenient for them to
return a const char* of the char* that is passed in. This was you can
call the function and use the result in the same expression/arg.
src/util/uuid.c
src/util/uuid.h
src/util/virmacaddr.c
src/util/virmacaddr.h