Re: __nonnull__ declarations

2009-12-10 Thread Bruno Haible
ed as an argument to a 'nonnull' parameter n += func2 (s); ^ ~ ANALYZE: foo.c foo2 1 diagnostic generated. I'll post a proposal for __nonnull__ declarations. Bruno

Re: __nonnull__ declarations

2009-12-06 Thread Jim Meyering
Bruno Haible wrote: > Hi Jim, all, >> >> I suggest you declare those functions with the "nonnull" attribute. >> >> I was referring to the functions in progname.h: >> >> set_program_name >> set_program_name_and_installdir > > More generally, it could make sense to mark many functions in gnulib,

__nonnull__ declarations

2009-12-06 Thread Bruno Haible
Hi Jim, all, > >> I suggest you declare those functions with the "nonnull" attribute. > > I was referring to the functions in progname.h: > > set_program_name > set_program_name_and_installdir More generally, it could make sense to mark many functions in gnulib, from "acl.h" to "xvasprintf.