Remove incorrect nonnull attribute

iso8601_leap_table_load() had an incorrect ‘nonnull’ attribute, which could
lead to crashes as the compiled code could omit the test for null which then
substitutes the system default. Fix it by removing the attribute.
This commit is contained in:
Laurence Withers 2010-08-02 12:00:20 +00:00
commit d013bff263

View file

@ -124,11 +124,7 @@ be set appropriately. If \a errno is \c EINVAL, then the file does not contain
a valid leap second table.
*/
int iso8601_leap_table_load(const char* fname)
#ifndef DOXYGEN
__attribute__((nonnull))
#endif
;
int iso8601_leap_table_load(const char* fname);