]> tinc-vpn.org Git - tinc/blobdiff - src/bsd/tunemu.c
Improve use of compiler attributes
[tinc] / src / bsd / tunemu.c
index 6867c47bee23eccf384291fb42bf9adb21f2e316..4e3fbc7dde6f40c752b206714e49e8230a3d0655 100644 (file)
@@ -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);