|
|
@@ -215,7 +215,7 @@ void ohshite(const char *fmt, ...) NONRETURNING PRINTFFORMAT(1, 2);
|
|
|
void ohshitvb(struct varbuf*) NONRETURNING;
|
|
|
void badusage(const char *fmt, ...) NONRETURNING PRINTFFORMAT(1, 2);
|
|
|
void werr(const char *what) NONRETURNING;
|
|
|
-void warningf(const char *fmt, ...);
|
|
|
+void warningf(const char *fmt, ...) PRINTFFORMAT(1, 2);
|
|
|
|
|
|
/*** from mlib.c ***/
|
|
|
|
|
|
@@ -341,16 +341,16 @@ struct buffer_data {
|
|
|
|
|
|
off_t buffer_copy_setup_PtrInt(void *p, int typeIn, void *procIn,
|
|
|
int i, int typeOut, void *procOut,
|
|
|
- off_t limit, const char *desc, ...);
|
|
|
+ off_t limit, const char *desc, ...) PRINTFFORMAT(8, 9);
|
|
|
off_t buffer_copy_setup_PtrPtr(void *p1, int typeIn, void *procIn,
|
|
|
void *p2, int typeOut, void *procOut,
|
|
|
- off_t limit, const char *desc, ...);
|
|
|
+ off_t limit, const char *desc, ...) PRINTFFORMAT(8, 9);
|
|
|
off_t buffer_copy_setup_IntPtr(int i, int typeIn, void *procIn,
|
|
|
void *p, int typeOut, void *procOut,
|
|
|
- off_t limit, const char *desc, ...);
|
|
|
+ off_t limit, const char *desc, ...) PRINTFFORMAT(8, 9);
|
|
|
off_t buffer_copy_setup_IntInt(int i1, int typeIn, void *procIn,
|
|
|
int i2, int typeOut, void *procOut,
|
|
|
- off_t limit, const char *desc, ...);
|
|
|
+ off_t limit, const char *desc, ...) PRINTFFORMAT(8, 9);
|
|
|
off_t buffer_copy_setup(buffer_arg argIn, int typeIn, void *procIn,
|
|
|
buffer_arg argOut, int typeOut, void *procOut,
|
|
|
off_t limit, const char *desc);
|
|
|
@@ -379,8 +379,11 @@ enum compress_type {
|
|
|
compress_type_lzma,
|
|
|
};
|
|
|
|
|
|
-void decompress_cat(enum compress_type type, int fd_in, int fd_out, char *desc, ...) NONRETURNING;
|
|
|
-void compress_cat(enum compress_type type, int fd_in, int fd_out, const char *compression, char *desc, ...) NONRETURNING;
|
|
|
+void decompress_cat(enum compress_type type, int fd_in, int fd_out,
|
|
|
+ char *desc, ...) NONRETURNING PRINTFFORMAT(4, 5);
|
|
|
+void compress_cat(enum compress_type type, int fd_in, int fd_out,
|
|
|
+ const char *compression, char *desc, ...)
|
|
|
+ NONRETURNING PRINTFFORMAT(5, 6);
|
|
|
|
|
|
/*** from compat.c ***/
|
|
|
|