summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libc/stdio/vfprintf.c3
-rw-r--r--lib/libc/stdio/vfwprintf.c3
-rw-r--r--sbin/newfs/newfs.c3
-rw-r--r--sys/kern/subr_prf.c3
-rw-r--r--usr.bin/ctags/tree.c4
-rw-r--r--usr.bin/mg/random.c3
-rw-r--r--usr.bin/mg/util.c3
-rw-r--r--usr.bin/wall/wall.c3
-rw-r--r--usr.sbin/syslogd/syslogd.c5
9 files changed, 10 insertions, 20 deletions
diff --git a/lib/libc/stdio/vfprintf.c b/lib/libc/stdio/vfprintf.c
index df26c324588..1e55ad7f494 100644
--- a/lib/libc/stdio/vfprintf.c
+++ b/lib/libc/stdio/vfprintf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfprintf.c,v 1.68 2015/08/31 02:53:57 guenther Exp $ */
+/* $OpenBSD: vfprintf.c,v 1.69 2015/09/29 03:19:24 guenther Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
@@ -836,7 +836,6 @@ fp_common:
* defined manner.''
* -- ANSI X3J11
*/
- /* NOSTRICT */
_umax = (u_long)GETARG(void *);
base = HEX;
xdigs = xdigs_lower;
diff --git a/lib/libc/stdio/vfwprintf.c b/lib/libc/stdio/vfwprintf.c
index 4a8cbcfe094..be83aabe7ef 100644
--- a/lib/libc/stdio/vfwprintf.c
+++ b/lib/libc/stdio/vfwprintf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfwprintf.c,v 1.13 2015/08/31 02:53:57 guenther Exp $ */
+/* $OpenBSD: vfwprintf.c,v 1.14 2015/09/29 03:19:24 guenther Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
@@ -812,7 +812,6 @@ fp_common:
* defined manner.''
* -- ANSI X3J11
*/
- /* NOSTRICT */
_umax = (u_long)GETARG(void *);
base = HEX;
xdigs = xdigs_lower;
diff --git a/sbin/newfs/newfs.c b/sbin/newfs/newfs.c
index 1921d5a0083..846091d48f1 100644
--- a/sbin/newfs/newfs.c
+++ b/sbin/newfs/newfs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: newfs.c,v 1.99 2015/01/20 18:22:21 deraadt Exp $ */
+/* $OpenBSD: newfs.c,v 1.100 2015/09/29 03:19:24 guenther Exp $ */
/* $NetBSD: newfs.c,v 1.20 1996/05/16 07:13:03 thorpej Exp $ */
/*
@@ -640,7 +640,6 @@ rewritelabel(char *s, int fd, struct disklabel *lp)
#endif /*__vax__*/
}
-/*VARARGS*/
void
fatal(const char *fmt, ...)
{
diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c
index 278487fe773..69e2e81faff 100644
--- a/sys/kern/subr_prf.c
+++ b/sys/kern/subr_prf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_prf.c,v 1.85 2015/03/14 03:38:50 jsg Exp $ */
+/* $OpenBSD: subr_prf.c,v 1.86 2015/09/29 03:19:24 guenther Exp $ */
/* $NetBSD: subr_prf.c,v 1.45 1997/10/24 18:14:25 chuck Exp $ */
/*-
@@ -894,7 +894,6 @@ reswitch: switch (ch) {
* defined manner.''
* -- ANSI X3J11
*/
- /* NOSTRICT */
_uquad = (u_long)va_arg(ap, void *);
base = HEX;
xdigs = "0123456789abcdef";
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;
diff --git a/usr.sbin/syslogd/syslogd.c b/usr.sbin/syslogd/syslogd.c
index 6a609de9fcb..dbb557c97e1 100644
--- a/usr.sbin/syslogd/syslogd.c
+++ b/usr.sbin/syslogd/syslogd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: syslogd.c,v 1.189 2015/09/12 13:50:29 bluhm Exp $ */
+/* $OpenBSD: syslogd.c,v 1.190 2015/09/29 03:19:23 guenther Exp $ */
/*
* Copyright (c) 1983, 1988, 1993, 1994
@@ -1799,8 +1799,7 @@ wallmsg(struct filed *f, struct iovec *iov)
reenter = 0;
return;
}
- /* NOSTRICT */
- while (fread((char *)&ut, sizeof(ut), 1, uf) == 1) {
+ while (fread(&ut, sizeof(ut), 1, uf) == 1) {
if (ut.ut_name[0] == '\0')
continue;
/* must use strncpy since ut_* may not be NUL terminated */