From nobody Mon Mar 07 16:25:51 2022 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4787519FED68; Mon, 7 Mar 2022 16:25:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KC3jX1Y6bz4ZqV; Mon, 7 Mar 2022 16:25:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646670352; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pQk8t+ZnJVBcOyL2DjiLwJEyOPp5nKbCCn0XP4sm/ek=; b=JwqF7rWJvGkL2ap1ObSx9utpa70aYDJxqC7420E7+/rIsM6u4P0zx790Z6vfm1t38IG0mP qxrWpgln3Gj5xZOVqJpG5MhtDlHSh82sWDft3o0l4kNTVBk8RK1bGHvGuiN+zIiyXpKpiq JkNuG+jmWSpTlw4h+Qm1VsOT7xv6chQ2Zwx44JIoyCTPjU/rxmAXv+cTgLZRMtP7gvVdBA LPBqwXZs3J4OYAZxe3qRHasF8dZQ8owLoINh6DS5RZauhWeIDO0JjqxDE4FlVPndkypiKS 9b/j5X6up1k5iWiBc6WRs9AO2HFbHrKDIBAQoJza0yE1d3rUhzPcYGRB+Xw1zA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1515B392D; Mon, 7 Mar 2022 16:25:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 227GPpBW003980; Mon, 7 Mar 2022 16:25:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 227GPp5O003979; Mon, 7 Mar 2022 16:25:51 GMT (envelope-from git) Date: Mon, 7 Mar 2022 16:25:51 GMT Message-Id: <202203071625.227GPp5O003979@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Ed Maste Subject: git: b269d895588e - stable/13 - vt: whitespace and style(9) updates List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: b269d895588e64a240e709eeda36f4281d4d0ae9 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646670352; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pQk8t+ZnJVBcOyL2DjiLwJEyOPp5nKbCCn0XP4sm/ek=; b=lw43u373iwDVb8zu01Cyop9cdM+VOsRvlguFxjTuppJdQq1bFJLIvAgoEjPH+jvAiz3agB cAadqbJu+0Fj9z8Nk3wY6FOJmPz4zIEe/hdOP9tqgY2cZq34wIdLe/O5gEsLsbmQt+6eNn H/aPFnQTiJhifnDwtPeBKzTge0UTPhQ5LoRnw/tHgCxW2uPakbqzM5+QWrlTu/hrw8XjP6 UI6qI1t/JEEycdl+bDe4bKrH5DTuS44kFeGikekvH/xsmIP+jveZWgAeha0/olo2HIFfg5 ZkK1i4hmiYZrcVc3j9ukJ0CG97PVmrONznI9HwdrXqf+J4H8mOzxvEnSjmYKNA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646670352; a=rsa-sha256; cv=none; b=mZUfSuKFa7WEkAh+LYJQWuvoJlfIzEJkQCRiIHYC4uUy20ZsmE4NiImp/L6W030IoDEWYD 2C1Bzm+SpPTbjHZT9Tvc69iMjeb75+KxQ4Ve+goLMUULw359ScW819691PJZvHVofQWrw1 H38gA0JiHT+d4/9mCgBs3KPXrCrlGAQtEPuiI7yDquR6i+a+JyypNRuFOtYgIUhQIxmeX1 G52cVX5YTw2mEmuCgWDMF6SkJVuKqs5TAsswM6teRVUca7SO3UNhNvoqsHQHzKHfCyVrBr ZVWv6OOSvn7Y8y6EzuiZol3VaP+OCIcwyNuIRSHfAUavxmZxUafdyVyHTnEoKg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=b269d895588e64a240e709eeda36f4281d4d0ae9 commit b269d895588e64a240e709eeda36f4281d4d0ae9 Author: Ed Maste AuthorDate: 2022-02-22 21:30:27 +0000 Commit: Ed Maste CommitDate: 2022-03-07 16:25:21 +0000 vt: whitespace and style(9) updates (cherry picked from commit 327da507f9df0eb4ab3b5621c5a38fb90d250e02) --- sys/dev/vt/vt_buf.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/dev/vt/vt_buf.c b/sys/dev/vt/vt_buf.c index 996dbe95902f..041c8193ca93 100644 --- a/sys/dev/vt/vt_buf.c +++ b/sys/dev/vt/vt_buf.c @@ -35,12 +35,12 @@ __FBSDID("$FreeBSD$"); #include +#include #include #include #include #include #include -#include #include @@ -542,7 +542,7 @@ vtbuf_grow(struct vt_buf *vb, const term_pos_t *p, unsigned int history_size) * is back to index 0, ie. the new buffer doesn't cycle. */ if (history_size > old_history_size) { - for (r = 0; r < old_history_size; r ++) { + for (r = 0; r < old_history_size; r++) { row = rows[r]; /* Compute the corresponding row in the old buffer. */ @@ -606,7 +606,7 @@ vtbuf_grow(struct vt_buf *vb, const term_pos_t *p, unsigned int history_size) * (old_history_size - history_size) lines of history are * dropped. */ - for (r = 0; r < history_size; r ++) { + for (r = 0; r < history_size; r++) { row = rows[r]; /* @@ -766,10 +766,10 @@ vtbuf_extract_marked(struct vt_buf *vb, term_char_t *buf, int sz) } i = 0; - for (r = s.tp_row; r <= e.tp_row; r ++) { + for (r = s.tp_row; r <= e.tp_row; r++) { cs = (r == s.tp_row)?s.tp_col:0; ce = (r == e.tp_row)?e.tp_col:vb->vb_scr_size.tp_col; - for (c = cs; c < ce; c ++) { + for (c = cs; c < ce; c++) { buf[i++] = vb->vb_rows[r][c]; } /* Add new line for all rows, but not for last one. */ @@ -819,7 +819,7 @@ vtbuf_set_mark(struct vt_buf *vb, int type, int col, int row) /* No space - word extends to beginning of line. */ if (i == -1) vb->vb_mark_start.tp_col = 0; - for (i = col; i < vb->vb_scr_size.tp_col; i ++) { + for (i = col; i < vb->vb_scr_size.tp_col; i++) { if (TCHAR_CHARACTER(r[i]) == ' ') { vb->vb_mark_end.tp_col = i; break;