public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] Amend grammar and add a description
@ 2020-10-26 15:55 Carlos O'Donell
0 siblings, 0 replies; only message in thread
From: Carlos O'Donell @ 2020-10-26 15:55 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=0a3fce86eecd4aa1df4b0695b4aecc314268181c
commit 0a3fce86eecd4aa1df4b0695b4aecc314268181c
Author: Jonny Grant <jg@jguk.org>
Date: Mon Oct 26 14:55:14 2020 +0000
Amend grammar and add a description
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
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 <bits/byteswap.h>
-/* 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. */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-10-26 15:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-26 15:55 [glibc] Amend grammar and add a description Carlos O'Donell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).