projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a mechanism for collecting entropy, and displaying how much we've got,
[u/mdw/putty]
/
terminal.c
diff --git
a/terminal.c
b/terminal.c
index
9f79701
..
f3b2c8a
100644
(file)
--- a/
terminal.c
+++ b/
terminal.c
@@
-804,7
+804,7
@@
static void scroll(Terminal *term, int topline, int botline, int lines, int sb)
* If the scroll is on the same area as the last scroll in the list,
* merge them.
*/
* If the scroll is on the same area as the last scroll in the list,
* merge them.
*/
-void save_scroll(Terminal *term, int topline, int botline, int lines)
+
static
void save_scroll(Terminal *term, int topline, int botline, int lines)
{
struct scrollregion *newscroll;
if (term->scrolltail &&
{
struct scrollregion *newscroll;
if (term->scrolltail &&
@@
-4602,7
+4602,7
@@
int term_ldisc(Terminal *term, int option)
/*
* from_backend(), to get data from the backend for the terminal.
*/
/*
* from_backend(), to get data from the backend for the terminal.
*/
-int from_backend(void *vterm, int is_stderr, char *data, int len)
+int from_backend(void *vterm, int is_stderr, c
onst c
har *data, int len)
{
Terminal *term = (Terminal *)vterm;
{
Terminal *term = (Terminal *)vterm;