diff options
| author | Dmitry V. Levin <ldv@altlinux.org> | 2010-09-07 01:13:13 +0000 |
|---|---|---|
| committer | Dmitry V. Levin <ldv@altlinux.org> | 2011-02-09 00:03:11 +0000 |
| commit | 10a16a76fc04ec692a255c7ca2f4aac2e19df2c1 (patch) | |
| tree | e201be226d3e0fffc6cb2d1a34056c72084bf11f | |
| parent | 7655fa090707a94c5ed34128e0d36da75af95198 (diff) | |
| download | strace-10a16a76fc04ec692a255c7ca2f4aac2e19df2c1.tar.gz | |
Simplify tprintf() declaration
* defs.h (tprintf): Simplify declaration.
| -rw-r--r-- | defs.h | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -619,12 +619,11 @@ extern int proc_open(struct tcb *tcp, int attaching); #define printtv_special(tcp, addr) \ printtv_bitness((tcp), (addr), BITNESS_CURRENT, 1) -#ifdef __GNUC__ extern void tprintf(const char *fmt, ...) - __attribute__ ((format (printf, 1, 2))); -#else -extern void tprintf(const char *fmt, ...); +#ifdef __GNUC__ + __attribute__ ((format (printf, 1, 2))) #endif + ; #ifndef HAVE_STRERROR const char *strerror(int); |
