diff options
author | 2015-10-01 02:32:07 +0000 | |
---|---|---|
committer | 2015-10-01 02:32:07 +0000 | |
commit | 9d9553bd2d73b47a1e6c954c7538bf7cd6b06ea5 (patch) | |
tree | 022c8bf1714eee5427f8033ca0d81a992629f7aa /lib/libc/stdio/sprintf.c | |
parent | rename the internal functions that do ml_foo ops on classes to hfsc_cl_foo. (diff) | |
download | wireguard-openbsd-9d9553bd2d73b47a1e6c954c7538bf7cd6b06ea5.tar.xz wireguard-openbsd-9d9553bd2d73b47a1e6c954c7538bf7cd6b06ea5.zip |
Eliminate the last of the LINTEDn and PRINTFLIKEn comments. In one
case, by deleting some useless '& of an array' we also eliminate the need
for the casts which prompted the original lint warnings
ok deraadt@
Diffstat (limited to 'lib/libc/stdio/sprintf.c')
-rw-r--r-- | lib/libc/stdio/sprintf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/stdio/sprintf.c b/lib/libc/stdio/sprintf.c index 0ca6b055bad..51ddf95f947 100644 --- a/lib/libc/stdio/sprintf.c +++ b/lib/libc/stdio/sprintf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sprintf.c,v 1.17 2011/05/30 18:48:33 martynas Exp $ */ +/* $OpenBSD: sprintf.c,v 1.18 2015/10/01 02:32:07 guenther Exp $ */ /*- * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. @@ -42,7 +42,6 @@ __warn_references(sprintf, "warning: sprintf() is often misused, please use snprintf()"); #endif -/* PRINTFLIKE2 */ int sprintf(char *str, const char *fmt, ...) { |