]> git.ipfire.org Git - thirdparty/gcc.git/commit
[PATCH] PR modula2/115540 gcc/m2/mc-boot-ch/Gtermios.cc error return-statement with...
authorGaius Mulley <gaiusmod2@gmail.com>
Fri, 22 Nov 2024 19:46:44 +0000 (19:46 +0000)
committerGaius Mulley <gaiusmod2@gmail.com>
Fri, 22 Nov 2024 19:46:44 +0000 (19:46 +0000)
commit8701cdbf8df3f746df85882878beb8e8f897b014
tree046df02235438053b0c8bf798d09fa4914023c9b
parent3adceba04eddf8c6e21fda3f7d0f8015e17bf5d8
[PATCH] 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.

(cherry picked from commit d16355c72c7f7b54ecf06371d14d7ad309ea4c34)

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