Files
nethack/sys/msdos
PatR 0d76f68f2c tty xputc()
Another part of github issue 227.  Casting a function pointer when
passing it to another function is iffy when lying about the return
type.  tputs() expects a routine which returns int, so give it one.
Other xputc() usage is equivalent to putchar(), so define xputc()
with the same function signature as that has.

The tputs() declarations in system.h should probably be changed
(third argument is a function which takes an int rather than
unspecified parameters) but I've left them alone.  I made that change
to tputs() in sys/share/tclib.c though.

NT and MSDOS changes are untested.  tclib.c compiles ok with clang-
as-gcc on OSX but hasn't been tested with the port that uses it (VMS).
2019-10-05 16:49:34 -07:00
..
2018-11-11 10:29:52 -05:00
2002-01-05 21:05:57 +00:00
2015-05-06 22:04:27 -04:00
2002-01-05 21:05:57 +00:00
2002-01-05 21:05:57 +00:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2019-09-12 23:04:15 -04:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2019-07-02 14:06:14 -04:00
2015-05-25 09:21:31 +09:00
2019-10-05 16:49:34 -07:00
2018-02-24 23:26:25 -05:00
2019-09-12 23:04:15 -04:00