]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libgm2 corrected spelling and comment formatting standard.
authorGaius Mulley <gaius.mulley@southwales.ac.uk>
Wed, 18 May 2022 19:03:58 +0000 (20:03 +0100)
committerGaius Mulley <gaius.mulley@southwales.ac.uk>
Wed, 18 May 2022 19:03:58 +0000 (20:03 +0100)
libgm2/ChangeLog:

* libm2pim/Selective.c: Use initialize spelling.
* libm2pim/dtoa.c: Corrected comment formatting.

Signed-off-by: Gaius Mulley <gaius.mulley@southwales.ac.uk>
libgm2/ChangeLog
libgm2/libm2pim/Selective.c
libgm2/libm2pim/dtoa.c

index 3105caa9647ef14ec64160f88f56c91f101ced00..9245a5181f55077417cd9c4d7dd9208974a92187 100644 (file)
@@ -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>
 
index 593d3d884c9a1d6d2243b024d2ab95157248d240..a08ab8e6ea4ae0692ed78dc32416a786a0db75ac 100644 (file)
@@ -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 *
index 9dcf2f45cd260d18036f3e16d6ac243175464007..9038b5acafd24d30256545fc7026a8a7eec9b091 100644 (file)
@@ -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);