From 7f8cb8f2d0d94e038404df509020ffe4e910e911 Mon Sep 17 00:00:00 2001 From: deraadt Date: Sun, 2 Jul 2017 23:19:07 +0000 Subject: [PATCH] whitespace --- usr.bin/bc/bc.y | 4 ++-- usr.bin/bc/scan.l | 4 ++-- usr.bin/bc/tty.c | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/usr.bin/bc/bc.y b/usr.bin/bc/bc.y index 598906364a0..0d6358623f3 100644 --- a/usr.bin/bc/bc.y +++ b/usr.bin/bc/bc.y @@ -1,5 +1,5 @@ %{ -/* $OpenBSD: bc.y,v 1.50 2017/02/23 06:41:46 otto Exp $ */ +/* $OpenBSD: bc.y,v 1.51 2017/07/02 23:19:07 deraadt Exp $ */ /* * Copyright (c) 2003, Otto Moerbeek @@ -1163,7 +1163,7 @@ main(int argc, char *argv[]) dup(p[0]); close(p[0]); close(p[1]); - + exit (dc_main(2, dc_argv)); } } diff --git a/usr.bin/bc/scan.l b/usr.bin/bc/scan.l index 8372f540f60..33835ddbd9a 100644 --- a/usr.bin/bc/scan.l +++ b/usr.bin/bc/scan.l @@ -1,5 +1,5 @@ %{ -/* $OpenBSD: scan.l,v 1.28 2013/09/19 16:12:01 otto Exp $ */ +/* $OpenBSD: scan.l,v 1.29 2017/07/02 23:19:07 deraadt Exp $ */ /* * Copyright (c) 2003, Otto Moerbeek @@ -324,7 +324,7 @@ bc_yyinput(char *buf, int maxlen) if (el != NULL) el_get(el, EL_EDITMODE, &use_el); - + if (yyin == stdin && interactive && use_el) { const char *bp; sigset_t oset, nset; diff --git a/usr.bin/bc/tty.c b/usr.bin/bc/tty.c index 3b2a0407704..27242239f53 100644 --- a/usr.bin/bc/tty.c +++ b/usr.bin/bc/tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty.c,v 1.3 2015/09/05 09:49:24 jsg Exp $ */ +/* $OpenBSD: tty.c,v 1.4 2017/07/02 23:19:07 deraadt Exp $ */ /* * Copyright (c) 2013, Otto Moerbeek @@ -53,10 +53,10 @@ tstpcont(int sig) if (sig == SIGTSTP) { signal(SIGCONT, tstpcont); gettty(&ttyedit); - settty(&ttysaved); + settty(&ttysaved); } else { signal(SIGTSTP, tstpcont); - settty(&ttyedit); + settty(&ttyedit); } signal(sig, SIG_DFL); kill(0, sig); -- 2.20.1