From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2191) id D18103857813; Mon, 26 Oct 2020 15:55:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D18103857813 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Carlos O'Donell To: glibc-cvs@sourceware.org Subject: [glibc] Amend grammar and add a description X-Act-Checkin: glibc X-Git-Author: Jonny Grant X-Git-Refname: refs/heads/master X-Git-Oldrev: ce643e6fe97b20716ac3888ba832539011fe9186 X-Git-Newrev: 0a3fce86eecd4aa1df4b0695b4aecc314268181c Message-Id: <20201026155521.D18103857813@sourceware.org> Date: Mon, 26 Oct 2020 15:55:21 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Oct 2020 15:55:21 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=0a3fce86eecd4aa1df4b0695b4aecc314268181c commit 0a3fce86eecd4aa1df4b0695b4aecc314268181c Author: Jonny Grant Date: Mon Oct 26 14:55:14 2020 +0000 Amend grammar and add a description Reviewed-by: Carlos O'Donell Diff: --- string/byteswap.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/string/byteswap.h b/string/byteswap.h index ca600d863d..8f6939717c 100644 --- a/string/byteswap.h +++ b/string/byteswap.h @@ -1,4 +1,5 @@ -/* Copyright (C) 1997-2020 Free Software Foundation, Inc. +/* Swap byte order for 16, 32 and 64 bit values + Copyright (C) 1997-2020 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -24,10 +25,10 @@ #include -/* The following definitions must all be macros since otherwise some +/* The following definitions must all be macros, otherwise some of the possible optimizations are not possible. */ -/* Return a value with all bytes in the 16 bit argument swapped. */ +/* Return a value with both bytes in the 16 bit argument swapped. */ #define bswap_16(x) __bswap_16 (x) /* Return a value with all bytes in the 32 bit argument swapped. */