Remove __nonnull() on the second argument of strto[u]l() which I used
to test that the warning actually was emitted. Spotted by: scottl
This commit is contained in:
parent
2722485b08
commit
4f0f6d8092
@ -164,8 +164,8 @@ int vsprintf(char *buf, const char *, __va_list) __printflike(2, 0);
|
||||
int ttyprintf(struct tty *, const char *, ...) __printflike(2, 3);
|
||||
int sscanf(const char *, char const *, ...) __nonnull(1) __nonnull(2);
|
||||
int vsscanf(const char *, char const *, __va_list) __nonnull(1) __nonnull(2);
|
||||
long strtol(const char *, char **, int) __nonnull(1) __nonnull(2);
|
||||
u_long strtoul(const char *, char **, int) __nonnull(1) __nonnull(2);
|
||||
long strtol(const char *, char **, int) __nonnull(1);
|
||||
u_long strtoul(const char *, char **, int) __nonnull(1);
|
||||
quad_t strtoq(const char *, char **, int) __nonnull(1);
|
||||
u_quad_t strtouq(const char *, char **, int) __nonnull(1);
|
||||
void tprintf(struct proc *p, int pri, const char *, ...) __printflike(3, 4);
|
||||
|
Loading…
Reference in New Issue
Block a user