]> git.armaanb.net Git - st.git/commitdiff
Backed out changeset d2bb4220fdf3
authorMatthias-Christian Ott <ott@enolink.de>
Thu, 10 Jul 2008 20:42:10 +0000 (22:42 +0200)
committerMatthias-Christian Ott <ott@enolink.de>
Thu, 10 Jul 2008 20:42:10 +0000 (22:42 +0200)
Ptm and pts are used by pty.c, thus they have to be non-static.

std.c

diff --git a/std.c b/std.c
index 5bc27b8dfa34533842ee61135f23d6887f7ebdeb..3e155e6a8c51dce352a8d5e513d5c34146305f06 100644 (file)
--- a/std.c
+++ b/std.c
@@ -41,7 +41,7 @@ typedef struct {
 static int cols = 80, lines = 25;
 static int cx = 0, cy = 0;
 static int c;
-static int ptm, pts;
+int ptm, pts;
 static _Bool bold, digit, qmark;
 static pid_t pid;
 static RingBuffer buf;