From owner-p4-projects@FreeBSD.ORG Mon Jul 21 20:48:40 2003 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 3633837B404; Mon, 21 Jul 2003 20:48:40 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36FC237B411 for ; Mon, 21 Jul 2003 20:48:39 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D16AA43F93 for ; Mon, 21 Jul 2003 20:48:38 -0700 (PDT) (envelope-from peter@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h6M3mc0U038714 for ; Mon, 21 Jul 2003 20:48:38 -0700 (PDT) (envelope-from peter@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h6M3mcxA038711 for perforce@freebsd.org; Mon, 21 Jul 2003 20:48:38 -0700 (PDT) Date: Mon, 21 Jul 2003 20:48:38 -0700 (PDT) Message-Id: <200307220348.h6M3mcxA038711@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to peter@freebsd.org using -f From: Peter Wemm To: Perforce Change Reviews Subject: PERFORCE change 34817 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2003 03:48:41 -0000 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);