[Libguestfs] [PATCH v2 2/7] lib: Move utilities to new directory common/utils.

Pino Toscano ptoscano at redhat.com
Thu Jan 26 16:15:27 UTC 2017


On Wednesday, 25 January 2017 14:37:11 CET Richard W.M. Jones wrote:
> Just code motion.
> 
> This commit makes it clearer what is a utility and what is part of the
> library.  It also makes it clear that we should rename:
> 
>   guestfs-internal-frontend.h -> utils.h
>   guestfs-internal-frontend-cleanups.h -> cleanups.h (?)

I'd not name an header as "utils.h": in the past, I've been bitten by a
library naming a public installed header (!) as /usr/include/utils.h,
nicely colliding with the utils.h in my own project.

-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20170126/a8d6d760/attachment.sig>


More information about the Libguestfs mailing list