]> granicus.if.org Git - strace/blobdiff - defs.h
Fix "format not a string literal" warning caused by tprintf(str)
[strace] / defs.h
diff --git a/defs.h b/defs.h
index bb2e395d5c17eae45924eb194eb27c9ebd12c7ee..59d4c7a4df8a87c6224ad8e9b00fbf045210401d 100644 (file)
--- a/defs.h
+++ b/defs.h
@@ -708,6 +708,7 @@ extern int proc_open(struct tcb *tcp, int attaching);
        printtv_bitness((tcp), (addr), BITNESS_CURRENT, 1)
 
 extern void tprintf(const char *fmt, ...) __attribute__ ((format (printf, 1, 2)));
+extern void tprints(const char *str);
 
 #ifndef HAVE_STRERROR
 const char *strerror(int);