public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* misc: Fix grammar in <sys/cdefs.h>
@ 2020-10-24 23:05 Jonny Grant
  0 siblings, 0 replies; only message in thread
From: Jonny Grant @ 2020-10-24 23:05 UTC (permalink / raw)
  To: GNU C Library, Zack Weinberg

[-- Attachment #1: Type: text/plain, Size: 78 bytes --]

Hello

Please find attached patch created against latest git.

Regards, Jonny

[-- Attachment #2: 0001-Ammended-comments-word-order.patch --]
[-- Type: text/x-patch, Size: 1229 bytes --]

From 2d2eb25f4ebe944a772c40b81d2506f1e1ee27a0 Mon Sep 17 00:00:00 2001
From: Jonny Grant <jg@jguk.org>
Date: Sun, 25 Oct 2020 00:03:39 +0100
Subject: [PATCH] Ammended comments word order

Signed-off-by: Jonny Grant <jg@jguk.org>
---
 misc/sys/cdefs.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/misc/sys/cdefs.h b/misc/sys/cdefs.h
index 6b9763a92a..9ed9a38b29 100644
--- a/misc/sys/cdefs.h
+++ b/misc/sys/cdefs.h
@@ -25,7 +25,7 @@
 
 /* The GNU libc does not support any K&R compilers or the traditional mode
    of ISO C compilers anymore.  Check for some of the combinations not
-   anymore supported.  */
+   supported anymore.  */
 #if defined __GNUC__ && !defined __STDC__
 # error "You need a ISO C conforming compiler to use the glibc headers"
 #endif
@@ -47,7 +47,7 @@
 # endif
 
 /* GCC can always grok prototypes.  For C++ programs we add throw()
-   to help it optimize the function calls.  But this works only with
+   to help it optimize the function calls.  But this only works with
    gcc 2.8.x and egcs.  For gcc 3.2 and up we even mark C functions
    as non-throwing using a function attribute since programs can use
    the -fexceptions options for C code as well.  */
-- 
2.25.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-10-24 23:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-24 23:05 misc: Fix grammar in <sys/cdefs.h> Jonny Grant

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).