public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/modula-2] libgm2 corrected spelling and comment formatting standard.
@ 2022-05-18 19:06 Gaius Mulley
0 siblings, 0 replies; only message in thread
From: Gaius Mulley @ 2022-05-18 19:06 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:6f1b137440e0967f819381429f4439ef3a1a1a1d
commit 6f1b137440e0967f819381429f4439ef3a1a1a1d
Author: Gaius Mulley <gaius.mulley@southwales.ac.uk>
Date: Wed May 18 20:03:58 2022 +0100
libgm2 corrected spelling and comment formatting standard.
libgm2/ChangeLog:
* libm2pim/Selective.c: Use initialize spelling.
* libm2pim/dtoa.c: Corrected comment formatting.
Signed-off-by: Gaius Mulley <gaius.mulley@southwales.ac.uk>
Diff:
---
libgm2/ChangeLog | 2 ++
libgm2/libm2pim/Selective.c | 2 +-
libgm2/libm2pim/dtoa.c | 2 +-
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/libgm2/ChangeLog b/libgm2/ChangeLog
index 3105caa9647..9245a5181f5 100644
--- a/libgm2/ChangeLog
+++ b/libgm2/ChangeLog
@@ -9,6 +9,8 @@
* libm2pim/termios.c: Reformatted comments.
* libm2pim/wrapc.c: Reformatted comments.
* libm2pim/termios.c: Reformatted comments within enum.
+ * libm2pim/Selective.c: Correct spelling.
+ * libm2pim/termios.c: Use GNU comment formatting.
2022-05-17 Gaius Mulley <gaius.mulley@southwales.ac.uk>
diff --git a/libgm2/libm2pim/Selective.c b/libgm2/libm2pim/Selective.c
index 593d3d884c9..a08ab8e6ea4 100644
--- a/libgm2/libm2pim/Selective.c
+++ b/libgm2/libm2pim/Selective.c
@@ -96,7 +96,7 @@ Selective_Select (int nooffds, void *readfds, void *writefds, void *exceptfds,
}
#endif
-/* InitTime initialises a timeval structure and returns a pointer to it. */
+/* InitTime initializes a timeval structure and returns a pointer to it. */
#if defined(HAVE_STRUCT_TIMEVAL)
struct timeval *
diff --git a/libgm2/libm2pim/dtoa.c b/libgm2/libm2pim/dtoa.c
index 9dcf2f45cd2..9038b5acafd 100644
--- a/libgm2/libm2pim/dtoa.c
+++ b/libgm2/libm2pim/dtoa.c
@@ -215,7 +215,7 @@ dtoa_dtoa (double d, int mode, int ndigits, int *decpt, int *sign)
{
case maxsignicant:
- ndigits += 20; /* enough for exponent */
+ ndigits += 20; /* Enough for exponent. */
p = malloc (ndigits);
snprintf (format, 50, "%s%d%s", "%.", ndigits - 20, "E");
snprintf (p, ndigits, format, d);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-05-18 19:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-18 19:06 [gcc/devel/modula-2] libgm2 corrected spelling and comment formatting standard Gaius Mulley
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).