From 0c9cc2aa1dc14eff6d512f7156bfc25f2d1d41c4 Mon Sep 17 00:00:00 2001 From: Richard Nyberg Date: Wed, 13 Sep 2006 18:44:23 +0000 Subject: [PATCH] Enable printf format type checking. --- btpd/http.h | 1 + 1 file changed, 1 insertion(+) diff --git a/btpd/http.h b/btpd/http.h index 8edaac4..9f03614 100644 --- a/btpd/http.h +++ b/btpd/http.h @@ -17,6 +17,7 @@ struct http_res { size_t length; }; +__attribute__((format (printf, 4, 5))) int http_get(struct http **ret, void (*cb)(struct http *, struct http_res *, void *), void *arg,