From: Andre Noll Date: Sat, 7 Jul 2007 17:12:35 +0000 (+0200) Subject: net.h: add missing __printf_2_3 attribute to send_va_buffer() X-Git-Tag: v0.2.17~46 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=d36f1dae4e1ee0756fdd885c1596fa8df8990491;p=paraslash.git net.h: add missing __printf_2_3 attribute to send_va_buffer() --- diff --git a/net.h b/net.h index a2778d55..c1cbe482 100644 --- a/net.h +++ b/net.h @@ -27,7 +27,7 @@ void init_sockaddr(struct sockaddr_in*, int, const struct hostent*); int para_connect(int, struct sockaddr_in *); int send_buffer(int, const char *); int send_bin_buffer(int, const char *, size_t); -int send_va_buffer(int, const char *, ...); +__printf_2_3 int send_va_buffer(int fd, const char *fmt, ...); int recv_buffer(int fd, char *buf, size_t size); int recv_bin_buffer(int fd, char *buf, size_t size); int para_accept(int, void *addr, socklen_t size);