summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias-Christian Ott2008-07-10 22:42:10 +0200
committerMatthias-Christian Ott2008-07-10 22:42:10 +0200
commit7a132bd6ac40bfa32b6ac1da412c8c7d35e2d5ca (patch)
treed1872583e1f4a7319da99cbc4b22b541943ae006
parent0cbcedb89ffe6e29b3c0640f371bed578c6e0c07 (diff)
downloadst-7a132bd6ac40bfa32b6ac1da412c8c7d35e2d5ca.tar.gz
st-7a132bd6ac40bfa32b6ac1da412c8c7d35e2d5ca.tar.xz
st-7a132bd6ac40bfa32b6ac1da412c8c7d35e2d5ca.zip
Backed out changeset d2bb4220fdf3
Ptm and pts are used by pty.c, thus they have to be non-static.
-rw-r--r--std.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/std.c b/std.c
index 5bc27b8..3e155e6 100644
--- 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;