From owner-cvs-all Wed Aug 14 16:20:54 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C31037B400; Wed, 14 Aug 2002 16:20:49 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 31D9A43E6A; Wed, 14 Aug 2002 16:20:49 -0700 (PDT) (envelope-from robert@FreeBSD.org) Received: from freefall.freebsd.org (robert@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7ENKnJU068691; Wed, 14 Aug 2002 16:20:49 -0700 (PDT) (envelope-from robert@freefall.freebsd.org) Received: (from robert@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7ENKngI068690; Wed, 14 Aug 2002 16:20:49 -0700 (PDT) Message-Id: <200208142320.g7ENKngI068690@freefall.freebsd.org> From: Robert Drehmel Date: Wed, 14 Aug 2002 16:20:48 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/include time.h src/lib/libc/stdtime strftime.3 strftime.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG robert 2002/08/14 16:20:48 PDT Modified files: include time.h lib/libc/stdtime strftime.3 strftime.c Log: - Add the 'restrict' qualifier to the function definition of strftime(3) for IEEE Std 1003.1-2001 compliance and remove excessive usage of the 'const' qualifier that was neither present in the prototype in the publice header, nor in the local prototype just above the function definition. - Replace the K&R function definition with a ANSI-C one. - Update the prototype of strftime(3) in its manual page. Revision Changes Path 1.27 +2 -1 src/include/time.h 1.29 +1 -1 src/lib/libc/stdtime/strftime.3 1.37 +4 -6 src/lib/libc/stdtime/strftime.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message