Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSanimir Agovic2018-06-18 18:05:26 +0000
committerSanimir Agovic2018-06-18 18:07:06 +0000
commita0561a314ad147c27ea72f1e71fefac503064b6e (patch)
treea87e779408f6faeb4c3baff6a365be12a39350b8
parent240ace21750d8ebeb4ae2f9abd16c1b7d0836b3b (diff)
downloadorg.eclipse.tcf.agent-a0561a314ad147c27ea72f1e71fefac503064b6e.tar.gz
org.eclipse.tcf.agent-a0561a314ad147c27ea72f1e71fefac503064b6e.tar.xz
org.eclipse.tcf.agent-a0561a314ad147c27ea72f1e71fefac503064b6e.zip
http: annotate http_printf with ATTR_PRINTF
Change-Id: Iaa1b0320647173c25e1d29bd4a7397e32075cba1 Signed-off-by: Sanimir Agovic <sanimir@subpath.org>
-rw-r--r--agent/tcf/http/http.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/tcf/http/http.h b/agent/tcf/http/http.h
index 7a0a8d9d..fe766be7 100644
--- a/agent/tcf/http/http.h
+++ b/agent/tcf/http/http.h
@@ -38,7 +38,7 @@ extern HttpParam * get_http_params(void);
extern void http_content_type(const char * type);
extern void http_send(char ch);
extern void http_send_block(const char * buf, size_t size);
-extern void http_printf(const char * fmt, ...);
+extern void http_printf(const char * fmt, ...) ATTR_PRINTF(1, 2);
extern void http_suspend(void);
extern void http_resume(OutputStream * out);

Back to the top