]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR modula2/115540 gcc/m2/mc-boot-ch/Gtermios.cc error return-statement with a value
authorGaius Mulley <gaiusmod2@gmail.com>
Tue, 25 Jun 2024 20:37:44 +0000 (21:37 +0100)
committerGaius Mulley <gaiusmod2@gmail.com>
Tue, 25 Jun 2024 20:37:44 +0000 (21:37 +0100)
commitd16355c72c7f7b54ecf06371d14d7ad309ea4c34
treecd2d1fa56b274c212a4c48751eb640cf7f938ac3
parent1ea95cc5e099d554764b82df8e972129e9d20885
PR modula2/115540 gcc/m2/mc-boot-ch/Gtermios.cc error return-statement with a value

This patch fixes three occurrences of cfmakeraw use in the hand built
m2 support libraries which incorrectly attempt to return a void
result.

gcc/m2/ChangeLog:

PR modula2/115540
* gm2-libs-ch/termios.c (cfmakeraw): Remove return.
* mc-boot-ch/Gtermios.cc (cfmakeraw): Remove return.
* pge-boot/Gtermios.cc (cfmakeraw): Remove return.

Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
gcc/m2/gm2-libs-ch/termios.c
gcc/m2/mc-boot-ch/Gtermios.cc
gcc/m2/pge-boot/Gtermios.cc