From 33073e51a940248817fc33948d84e5492902a473 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Wed, 27 Aug 2008 16:13:25 +0000 Subject: add --enable-dev-mode support, and fix up a couple of warnings found using it (only two, surprisingly) git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4845 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- sethdlc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sethdlc.c') diff --git a/sethdlc.c b/sethdlc.c index 6b2f0d5..cc0517c 100644 --- a/sethdlc.c +++ b/sethdlc.c @@ -50,7 +50,7 @@ static char **argv; int sock; -static void error(const char *format, ...) __attribute__ ((noreturn)); +static void error(const char *format, ...) __attribute__ ((noreturn, format(printf, 1, 2))); static void error(const char *format, ...) { -- cgit v1.2.3