diff options
-rw-r--r-- | usr.bin/bc/scan.l | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/bc/scan.l b/usr.bin/bc/scan.l index fee5aa990b8..51a091bd182 100644 --- a/usr.bin/bc/scan.l +++ b/usr.bin/bc/scan.l @@ -1,5 +1,5 @@ %{ -/* $OpenBSD: scan.l,v 1.21 2006/03/18 20:44:43 otto Exp $ */ +/* $OpenBSD: scan.l,v 1.22 2008/12/15 19:46:29 otto Exp $ */ /* * Copyright (c) 2003, Otto Moerbeek <otto@drijf.net> @@ -18,7 +18,7 @@ */ #ifndef lint -static const char rcsid[] = "$OpenBSD: scan.l,v 1.21 2006/03/18 20:44:43 otto Exp $"; +static const char rcsid[] = "$OpenBSD: scan.l,v 1.22 2008/12/15 19:46:29 otto Exp $"; #endif /* not lint */ #include <err.h> @@ -229,7 +229,7 @@ add_str(const char *str) void abort_line(int sig) { - const char str[] = "[\n]P\n"; + static const char str[] = "[\n]P\n"; int save_errno; save_errno = errno; |