From owner-cvs-all@FreeBSD.ORG Mon Jun 27 01:54:40 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org 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 A20AC16A41C; Mon, 27 Jun 2005 01:54:40 +0000 (GMT) (envelope-from trhodes@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F19743D1D; Mon, 27 Jun 2005 01:54: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 j5R1senW017296; Mon, 27 Jun 2005 01:54:40 GMT (envelope-from trhodes@repoman.freebsd.org) Received: (from trhodes@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j5R1seZm017295; Mon, 27 Jun 2005 01:54:40 GMT (envelope-from trhodes) Message-Id: <200506270154.j5R1seZm017295@repoman.freebsd.org> From: Tom Rhodes Date: Mon, 27 Jun 2005 01:54:40 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Cc: 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.5 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: Mon, 27 Jun 2005 01:54:40 -0000 trhodes 2005-06-27 01:54:40 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) include string.h unistd.h lib/libc/string swab.3 swab.c Log: MFC: 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.20.2.1 +13 -2 src/include/string.h 1.73.2.1 +6 -1 src/include/unistd.h 1.7.8.1 +3 -3 src/lib/libc/string/swab.3 1.5.8.1 +2 -2 src/lib/libc/string/swab.c