projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
843950e
)
net.h: add missing __printf_2_3 attribute to send_va_buffer()
author
Andre Noll
<maan@systemlinux.org>
Sat, 7 Jul 2007 17:12:35 +0000
(19:12 +0200)
committer
Andre Noll
<maan@systemlinux.org>
Sat, 7 Jul 2007 17:12:35 +0000
(19:12 +0200)
net.h
patch
|
blob
|
history
diff --git
a/net.h
b/net.h
index a2778d557833cf2e797db6728d364b6b453e92e8..c1cbe4823395b04affc6820c7e9de6e886d0fe93 100644
(file)
--- 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);