Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jul 2003 20:48:38 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 34817 for review
Message-ID:  <200307220348.h6M3mcxA038711@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=34817

Change 34817 by peter@peter_hammer on 2003/07/21 20:48:27

	our strto*() functions do allow a null arg2.

Affected files ...

.. //depot/projects/hammer/sys/sys/systm.h#8 edit

Differences ...

==== //depot/projects/hammer/sys/sys/systm.h#8 (text+ko) ====

@@ -164,8 +164,8 @@
 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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307220348.h6M3mcxA038711>