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/gen/syslog_r.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/libc/gen/syslog_r.c') diff --git a/lib/libc/gen/syslog_r.c b/lib/libc/gen/syslog_r.c index 6e38a62d276..2a966a4ba62 100644 --- a/lib/libc/gen/syslog_r.c +++ b/lib/libc/gen/syslog_r.c @@ -1,4 +1,4 @@ -/* $OpenBSD: syslog_r.c,v 1.2 2009/11/21 10:23:31 chl Exp $ */ +/* $OpenBSD: syslog_r.c,v 1.3 2011/05/30 18:48:33 martynas Exp $ */ /* * Copyright (c) 1983, 1988, 1993 * The Regents of the University of California. All rights reserved. @@ -54,6 +54,7 @@ void __vsyslog_r(int pri, struct syslog_data *, size_t (*)(char *, size_t), /* Reentrant version of syslog, i.e. syslog_r() */ +/* PRINTFLIKE3 */ void syslog_r(int pri, struct syslog_data *data, const char *fmt, ...) { -- cgit v1.2.3-59-g8ed1b