summaryrefslogtreecommitdiffstats
path: root/screen.c
diff options
context:
space:
mode:
authornicm <nicm>2016-10-10 21:29:23 +0000
committernicm <nicm>2016-10-10 21:29:23 +0000
commitc426e485e527a03aa3b4bdbb3203f621e006cbd5 (patch)
tree2f0add91706d06d7cf4d748294805c8d4d4d8d39 /screen.c
parent66b5477cc1909e57489f854939a524ce2cd0f479 (diff)
Loads more static, except for cmd-*.c and window-*.c.
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/screen.c b/screen.c
index 8e4f8a65..b0ba216a 100644
--- a/screen.c
+++ b/screen.c
@@ -24,8 +24,8 @@
#include "tmux.h"
-void screen_resize_x(struct screen *, u_int);
-void screen_resize_y(struct screen *, u_int);
+static void screen_resize_x(struct screen *, u_int);
+static void screen_resize_y(struct screen *, u_int);
/* Create a new screen. */
void
@@ -139,7 +139,7 @@ screen_resize(struct screen *s, u_int sx, u_int sy, int reflow)
screen_reflow(s, sx);
}
-void
+static void
screen_resize_x(struct screen *s, u_int sx)
{
struct grid *gd = s->grid;
@@ -161,7 +161,7 @@ screen_resize_x(struct screen *s, u_int sx)
gd->sx = sx;
}
-void
+static void
screen_resize_y(struct screen *s, u_int sy)
{
struct grid *gd = s->grid;
@@ -221,8 +221,8 @@ screen_resize_y(struct screen *s, u_int sy)
needed = sy - oldy;
/*
- * Try to pull as much as possible out of scrolled history, if is
- * is enabled.
+ * Try to pull as much as possible out of scrolled history, if
+ * is is enabled.
*/
available = gd->hscrolled;
if (gd->flags & GRID_HISTORY && available > 0) {