diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-11-17 19:54:58 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-11-17 19:54:58 +0000 |
commit | 3098cdb2aeca6d121a47df0401bd9d64682b3e9c (patch) | |
tree | cff90396a2f6df9ced0c2d1ac2cadc0c7877bc1c /bin | |
parent | 5c3512bff36556eb83c2abecbf32b9ccdab08c9f (diff) |
volatile sig_atomic_t
Diffstat (limited to 'bin')
-rw-r--r-- | bin/ed/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/ed/main.c b/bin/ed/main.c index 4c14d3e89c0..da57782a7b0 100644 --- a/bin/ed/main.c +++ b/bin/ed/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.23 2001/11/11 07:36:40 deraadt Exp $ */ +/* $OpenBSD: main.c,v 1.24 2001/11/17 19:54:56 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.23 2001/11/11 07:36:40 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: main.c,v 1.24 2001/11/17 19:54:56 deraadt Exp $"; #endif #endif /* not lint */ @@ -485,8 +485,8 @@ next_addr() int patlock = 0; /* if set, pattern not freed by get_compiled_pattern() */ -sig_atomic_t rows = 22; /* scroll length: ws_row - 2 */ -sig_atomic_t cols = 72; /* wrap column */ +volatile sig_atomic_t rows = 22; /* scroll length: ws_row - 2 */ +volatile sig_atomic_t cols = 72; /* wrap column */ /* exec_command: execute the next command in command buffer; return print request, if any */ |