projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improve use of compiler attributes
[tinc]
/
src
/
bsd
/
tunemu.c
diff --git
a/src/bsd/tunemu.c
b/src/bsd/tunemu.c
index
6867c47
..
4e3fbc7
100644
(file)
--- a/
src/bsd/tunemu.c
+++ b/
src/bsd/tunemu.c
@@
-80,6
+80,7
@@
static pcap_t *pcap = NULL;
static size_t data_buffer_length = 0;
static uint8_t *data_buffer = NULL;
+static void tun_error(char *format, ...) ATTR_FORMAT(printf, 1, 2);
static void tun_error(char *format, ...) {
va_list vl;
va_start(vl, format);