diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2015-09-29 03:19:25 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2015-09-29 03:19:25 +0000 |
commit | adbf6d583acd74a8586e5065a0f5d14349740236 (patch) | |
tree | 1bf8711c8828fd9537bc043d741e4872a806cf87 /usr.bin | |
parent | ea6506d2a5dcf5f9c587c29c480dc58003bd867c (diff) |
Delete the final, inscrutable NOSTRICT and VARARGS lint comments
ok millert@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/ctags/tree.c | 4 | ||||
-rw-r--r-- | usr.bin/mg/random.c | 3 | ||||
-rw-r--r-- | usr.bin/mg/util.c | 3 | ||||
-rw-r--r-- | usr.bin/wall/wall.c | 3 |
4 files changed, 4 insertions, 9 deletions
diff --git a/usr.bin/ctags/tree.c b/usr.bin/ctags/tree.c index e419edabdfa..46bf24b3478 100644 --- a/usr.bin/ctags/tree.c +++ b/usr.bin/ctags/tree.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tree.c,v 1.12 2015/08/22 04:23:07 semarie Exp $ */ +/* $OpenBSD: tree.c,v 1.13 2015/09/29 03:19:24 guenther Exp $ */ /* $NetBSD: tree.c,v 1.4 1995/03/26 20:14:11 glass Exp $ */ /* @@ -55,12 +55,10 @@ pfnote(char *name, int ln) char *fp; char nbuf[1+MAXNAMLEN+1]; - /*NOSTRICT*/ if (!(np = malloc(sizeof(NODE)))) { warnx("too many entries to sort"); put_entries(head); free_tree(head); - /*NOSTRICT*/ if (!(head = np = malloc(sizeof(NODE)))) err(1, NULL); } diff --git a/usr.bin/mg/random.c b/usr.bin/mg/random.c index cbcd248ceca..4f4c412b0e0 100644 --- a/usr.bin/mg/random.c +++ b/usr.bin/mg/random.c @@ -1,4 +1,4 @@ -/* $OpenBSD: random.c,v 1.35 2015/03/19 21:22:15 bcallah Exp $ */ +/* $OpenBSD: random.c,v 1.36 2015/09/29 03:19:24 guenther Exp $ */ /* This file is in the public domain. */ @@ -68,7 +68,6 @@ showcpos(int f, int n) ++row; clp = lforw(clp); } - /* NOSTRICT */ ratio = nchar ? (100L * cchar) / nchar : 100; ewprintf("Char: %c (0%o) point=%ld(%d%%) line=%d row=%d col=%d", cbyte, cbyte, cchar, ratio, cline, row, getcolpos(curwp)); diff --git a/usr.bin/mg/util.c b/usr.bin/mg/util.c index 519fba8cb46..d5b5a06af14 100644 --- a/usr.bin/mg/util.c +++ b/usr.bin/mg/util.c @@ -1,4 +1,4 @@ -/* $OpenBSD: util.c,v 1.35 2015/03/19 21:22:15 bcallah Exp $ */ +/* $OpenBSD: util.c,v 1.36 2015/09/29 03:19:24 guenther Exp $ */ /* This file is in the public domain. */ @@ -68,7 +68,6 @@ showcpos(int f, int n) ++row; clp = lforw(clp); } - /* NOSTRICT */ ratio = nchar ? (100L * cchar) / nchar : 100; ewprintf("Char: %c (0%o) point=%ld(%d%%) line=%d row=%d col=%d", cbyte, cbyte, cchar, ratio, cline, row, getcolpos(curwp)); diff --git a/usr.bin/wall/wall.c b/usr.bin/wall/wall.c index e2e4bb8b0dd..f367cbc7072 100644 --- a/usr.bin/wall/wall.c +++ b/usr.bin/wall/wall.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wall.c,v 1.27 2015/08/20 22:32:42 deraadt Exp $ */ +/* $OpenBSD: wall.c,v 1.28 2015/09/29 03:19:24 guenther Exp $ */ /* $NetBSD: wall.c,v 1.6 1994/11/17 07:17:58 jtc Exp $ */ /* @@ -109,7 +109,6 @@ main(int argc, char **argv) err(1, "cannot read %s", _PATH_UTMP); iov.iov_base = mbuf; iov.iov_len = mbufsize; - /* NOSTRICT */ while (fread(&utmp, sizeof(utmp), 1, fp) == 1) { if (!utmp.ut_name[0]) continue; |