From 5205e75b17e03c791f89f7ae55af9a101ae490fe Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sat, 25 Feb 2012 13:04:11 +0100 Subject: [PATCH] debug: enable printf format checking for lt_debug Origin commit data ------------------ Branch: master Commit: https://github.com/neutrino-images/ni-libstb-hal/commit/639b538a999cb27db08a46332b01dde1285f8a64 Author: Stefan Seyfried Date: 2012-02-25 (Sat, 25 Feb 2012) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- common/lt_debug.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/lt_debug.h b/common/lt_debug.h index 13b08d1..42464b9 100644 --- a/common/lt_debug.h +++ b/common/lt_debug.h @@ -13,7 +13,7 @@ extern int debuglevel; -void _lt_debug(int facility, const void *, const char *fmt, ...); -void _lt_info(int facility, const void *, const char *fmt, ...); +void _lt_debug(int facility, const void *, const char *fmt, ...) __attribute__ ((format (printf, 3, 4))); +void _lt_info(int facility, const void *, const char *fmt, ...) __attribute__ ((format (printf, 3, 4))); void lt_debug_init(void); #endif