summaryrefslogtreecommitdiff
path: root/bin/ed
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-01-17 19:19:32 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-01-17 19:19:32 +0000
commitff92ad1b33e9cc854750bd5309abc4677aa84061 (patch)
treee97adabf787a54f976eeb2900c5a1f82a928c031 /bin/ed
parenta24f4e148be5373e4a47ba586ad3bc84786ec5b0 (diff)
use sig_atomic_t
Diffstat (limited to 'bin/ed')
-rw-r--r--bin/ed/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/ed/main.c b/bin/ed/main.c
index 064b8219017..b524502f3c0 100644
--- a/bin/ed/main.c
+++ b/bin/ed/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.20 2001/01/16 03:04:45 deraadt Exp $ */
+/* $OpenBSD: main.c,v 1.21 2001/01/17 19:19:31 deraadt Exp $ */
/* $NetBSD: main.c,v 1.3 1995/03/21 09:04:44 cgd Exp $ */
/* main.c: This file contains the main control and user-interface routines
@@ -39,7 +39,7 @@ char *copyright =
#if 0
static char *rcsid = "@(#)main.c,v 1.1 1994/02/01 00:34:42 alm Exp";
#else
-static char rcsid[] = "$OpenBSD: main.c,v 1.20 2001/01/16 03:04:45 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: main.c,v 1.21 2001/01/17 19:19:31 deraadt Exp $";
#endif
#endif /* not lint */
@@ -485,8 +485,8 @@ next_addr()
int patlock = 0; /* if set, pattern not freed by get_compiled_pattern() */
-volatile int rows = 22; /* scroll length: ws_row - 2 */
-volatile int cols = 72; /* wrap column */
+sig_atomic_t rows = 22; /* scroll length: ws_row - 2 */
+sig_atomic_t cols = 72; /* wrap column */
/* exec_command: execute the next command in command buffer; return print
request, if any */