projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Further clarified Kimmo's etc/Makefile.in comments at his suggestion.
[mmh]
/
uip
/
termsbr.c
diff --git
a/uip/termsbr.c
b/uip/termsbr.c
index
77af468
..
556158d
100644
(file)
--- a/
uip/termsbr.c
+++ b/
uip/termsbr.c
@@
-21,9
+21,14
@@
# include <termcap.h>
#endif
# include <termcap.h>
#endif
+/* <sys/ioctl.h> is need anyway for ioctl()
#ifdef GWINSZ_IN_SYS_IOCTL
#ifdef GWINSZ_IN_SYS_IOCTL
+*/
# include <sys/ioctl.h>
# include <sys/ioctl.h>
+/*
#endif
#endif
+*/
+
#ifdef WINSIZE_IN_PTEM
# include <sys/stream.h>
# include <sys/ptem.h>
#ifdef WINSIZE_IN_PTEM
# include <sys/stream.h>
# include <sys/ptem.h>
@@
-170,7
+175,7
@@
sc_length (void)
static int
outc (int c)
{
static int
outc (int c)
{
- putchar(c);
+ return putchar(c);
}
}