From 85ebf103375262b27fffdad71fc44b299417f3ff Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 15 Mar 2012 02:02:20 +0000 Subject: Add __printflike attribution to use vprintf and friends with an argument as format string. --- lib/lua/sqlite/sqlite.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/lua/sqlite') diff --git a/lib/lua/sqlite/sqlite.c b/lib/lua/sqlite/sqlite.c index 569bc84cc52..3d1f7b056ab 100644 --- a/lib/lua/sqlite/sqlite.c +++ b/lib/lua/sqlite/sqlite.c @@ -1,4 +1,4 @@ -/* $NetBSD: sqlite.c,v 1.3 2011/10/15 12:58:20 mbalmer Exp $ */ +/* $NetBSD: sqlite.c,v 1.4 2012/03/15 02:02:21 joerg Exp $ */ /* * Copyright (c) 2011 Marc Balmer @@ -42,7 +42,7 @@ int luaopen_sqlite(lua_State*); -static void +static __printflike(2, 3) void sqlite_error(lua_State *L, const char *fmt, ...) { va_list ap; -- cgit