浏览代码

Enable printf format type checking.

master
Richard Nyberg 19 年前
父节点
当前提交
0c9cc2aa1d
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      btpd/http.h

+ 1
- 0
btpd/http.h 查看文件

@@ -17,6 +17,7 @@ struct http_res {
size_t length; size_t length;
}; };


__attribute__((format (printf, 4, 5)))
int http_get(struct http **ret, int http_get(struct http **ret,
void (*cb)(struct http *, struct http_res *, void *), void (*cb)(struct http *, struct http_res *, void *),
void *arg, void *arg,


正在加载...
取消
保存