* lib/getulong.c: Added splint annotations.

This commit is contained in:
nekral-guest 2009-04-30 21:44:35 +00:00
parent 4e75bb57bb
commit 4da0573bf7
3 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2009-04-30 Nicolas François <nicolas.francois@centraliens.net>
* lib/getulong.c: Added splint annotations.
2009-04-30 Nicolas François <nicolas.francois@centraliens.net>
* src/newgrp.c, src/chfn.c, src/groupmems.c, src/usermod.c,

View File

@ -52,7 +52,10 @@ int getulong (const char *numstr, /*@out@*/unsigned long int *result)
if ( ('\0' == *numstr)
|| ('\0' != *endptr)
|| (ERANGE == errno)
|| (val != (unsigned long int)val)) {
/*@+ignoresigns@*/
|| (val != (unsigned long int)val)
/*@=ignoresigns@*/
) {
return 0;
}

View File

@ -44,6 +44,7 @@
#include "prototypes.h"
#include "pwio.h"
#include "shadowio.h"
/*
* Global variables
*/