From b18e690dce4ce381e3ca4984173985d640e8a5f5 Mon Sep 17 00:00:00 2001 From: martynas Date: Mon, 30 May 2011 18:48:33 +0000 Subject: Make printf-like and scanf-like functions marked as such in llib-lc.ln and llib-lwrap.ln databases; so that the lint features doing format strings checks are enabled by default. Looks good to millert@. --- lib/libc/stdio/scanf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/libc/stdio/scanf.c') diff --git a/lib/libc/stdio/scanf.c b/lib/libc/stdio/scanf.c index 71194d04e7a..90cf12a3ba7 100644 --- a/lib/libc/stdio/scanf.c +++ b/lib/libc/stdio/scanf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: scanf.c,v 1.9 2005/08/08 08:05:36 espie Exp $ */ +/* $OpenBSD: scanf.c,v 1.10 2011/05/30 18:48:33 martynas Exp $ */ /*- * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. @@ -34,6 +34,7 @@ #include #include +/* SCANFLIKE1 */ int scanf(const char *fmt, ...) { -- cgit v1.2.3-59-g8ed1b