From owner-cvs-all@FreeBSD.ORG Fri Dec 10 15:24:40 2004 Return-Path: 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 78B6B16A4CE; Fri, 10 Dec 2004 15:24:40 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 660AC43D41; Fri, 10 Dec 2004 15:24:40 +0000 (GMT) (envelope-from trhodes@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id iBAFOehd061495; Fri, 10 Dec 2004 15:24:40 GMT (envelope-from trhodes@repoman.freebsd.org) Received: (from trhodes@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id iBAFOeIB061494; Fri, 10 Dec 2004 15:24:40 GMT (envelope-from trhodes) Message-Id: <200412101524.iBAFOeIB061494@repoman.freebsd.org> From: Tom Rhodes Date: Fri, 10 Dec 2004 15:24:40 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/include string.h unistd.h src/lib/libc/string swab.3 swab.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Dec 2004 15:24:40 -0000 trhodes 2004-12-10 15:24:40 UTC FreeBSD src repository Modified files: include string.h unistd.h lib/libc/string swab.3 swab.c Log: According to the information on: http://www.opengroup.org/onlinepubs/009695399/functions/swab.html the prototype for swab() should be in and not in . Move it, and update to match SUS. Leave the prototype in string.h for now, for backwards compat. PR: 74751 Submitted by: Craig Rodrigues Discussed with: das Revision Changes Path 1.21 +13 -2 src/include/string.h 1.75 +6 -1 src/include/unistd.h 1.8 +2 -2 src/lib/libc/string/swab.3 1.6 +2 -2 src/lib/libc/string/swab.c