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>
void EXPORT (cfmakeraw) (struct termios *t)
{
#if defined(HAVE_CFMAKERAW)
- return cfmakeraw (t);
+ cfmakeraw (t);
#endif
}
EXPORT (cfmakeraw) (struct termios *t)
{
#if defined(HAVE_CFMAKERAW)
- return cfmakeraw (t);
+ cfmakeraw (t);
#endif
}
EXPORT (cfmakeraw) (struct termios *t)
{
#if defined(HAVE_CFMAKERAW)
- return cfmakeraw (t);
+ cfmakeraw (t);
#endif
}