[Libguestfs] [PATCH nbdkit] include: Annotate function parameters with attribute((nonnull)).

Richard W.M. Jones rjones at redhat.com
Tue Jan 1 18:20:46 UTC 2019


Should we use attribute((nonnull)) at all?  There's a very interesting
history of this in libvirt -- try looking at commit eefb881 plus the
commits referencing eefb881 -- but it does seem to work for me using
recent GCC and Clang.

I only did a few functions because annotating them gets old quickly...

Rich.





More information about the Libguestfs mailing list