aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaius Mulley <gaius.mulley@southwales.ac.uk>2022-05-18 19:53:59 +0100
committerGaius Mulley <gaius.mulley@southwales.ac.uk>2022-05-18 19:53:59 +0100
commit2ac22562550687f539037506fdb5985497c5d5cf (patch)
tree5030ed710489a4a35e27f06f115bb251488d215a
parentbd048913f08455a830e20b7d87b298c257e242fa (diff)
downloadgcc-2ac22562550687f539037506fdb5985497c5d5cf.zip
gcc-2ac22562550687f539037506fdb5985497c5d5cf.tar.gz
gcc-2ac22562550687f539037506fdb5985497c5d5cf.tar.bz2
libgm2/libm2pim/termios.c changed comments to GNU coding standard.
libgm2/ChangeLog: * libm2pim/termios.c changed comments to GNU coding standard within an enum declaration. Signed-off-by: Gaius Mulley <gaius.mulley@southwales.ac.uk>
-rw-r--r--libgm2/ChangeLog1
-rw-r--r--libgm2/libm2pim/termios.c8
2 files changed, 5 insertions, 4 deletions
diff --git a/libgm2/ChangeLog b/libgm2/ChangeLog
index 1fdfc33..3105caa 100644
--- a/libgm2/ChangeLog
+++ b/libgm2/ChangeLog
@@ -8,6 +8,7 @@
* libm2pim/sckt.c: Reformatted comments.
* libm2pim/termios.c: Reformatted comments.
* libm2pim/wrapc.c: Reformatted comments.
+ * libm2pim/termios.c: Reformatted comments within enum.
2022-05-17 Gaius Mulley <gaius.mulley@southwales.ac.uk>
diff --git a/libgm2/libm2pim/termios.c b/libgm2/libm2pim/termios.c
index b142fee..740cad5f 100644
--- a/libgm2/libm2pim/termios.c
+++ b/libgm2/libm2pim/termios.c
@@ -82,7 +82,7 @@ typedef enum {
} ControlChar;
typedef enum {
- /* input flag bits */
+ /* Input flag bits. */
ignbrk,
ibrkint,
ignpar,
@@ -97,7 +97,7 @@ typedef enum {
ixany,
ixoff,
imaxbel,
- /* output flag bits */
+ /* Output flag bits. */
opost,
olcuc,
onlcr,
@@ -122,7 +122,7 @@ typedef enum {
off1,
ovt0,
ovt1,
- /* baud rate */
+ /* Baud rate. */
b0,
b50,
b75,
@@ -156,7 +156,7 @@ typedef enum {
b4000000,
maxbaud,
crtscts,
- /* character size */
+ /* Character size. */
cs5,
cs6,
cs7,