Let me try an alternate version of this.
The problem is that I was getting GCC warnings even before adding the
annotation to nbd_internal_set_querylist. Somehow the annotation on
the public function "leaked" through to the internal function.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW