diff options
| author | Richard Nyberg <rnyberg@murmeldjur.se> | 2006-09-13 18:44:23 +0000 |
|---|---|---|
| committer | Richard Nyberg <rnyberg@murmeldjur.se> | 2006-09-13 18:44:23 +0000 |
| commit | 0c9cc2aa1dc14eff6d512f7156bfc25f2d1d41c4 (patch) | |
| tree | c745569d2f90ff631738ea72385a7c1c6d5edb49 | |
| parent | 1911f326a640a2557536f28c281bd3619882333c (diff) | |
| download | btpd-0c9cc2aa1dc14eff6d512f7156bfc25f2d1d41c4.tar.gz btpd-0c9cc2aa1dc14eff6d512f7156bfc25f2d1d41c4.zip | |
Enable printf format type checking.
| -rw-r--r-- | btpd/http.h | 1 |
1 files changed, 1 insertions, 0 deletions
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, |