projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6f9f677
)
Let GCC check format string and arguments of send_request().
author
Guus Sliepen
<guus@tinc-vpn.org>
Mon, 9 Sep 2002 22:41:56 +0000
(22:41 +0000)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Mon, 9 Sep 2002 22:41:56 +0000
(22:41 +0000)
src/protocol.h
patch
|
blob
|
history
diff --git
a/src/protocol.h
b/src/protocol.h
index
db1c96c
..
67fcb32
100644
(file)
--- a/
src/protocol.h
+++ b/
src/protocol.h
@@
-17,7
+17,7
@@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: protocol.h,v 1.5.4.3
6 2002/09/09 22:32:55
guus Exp $
+ $Id: protocol.h,v 1.5.4.3
7 2002/09/09 22:41:56
guus Exp $
*/
#ifndef __TINC_PROTOCOL_H__
*/
#ifndef __TINC_PROTOCOL_H__
@@
-60,7
+60,7
@@
typedef struct past_request_t {
/* Basic functions */
/* Basic functions */
-extern int send_request(connection_t *, const char *, ...);
+extern int send_request(connection_t *, const char *, ...)
__attribute__ ((format(printf, 2, 3)))
;
extern int forward_request(connection_t *);
extern int receive_request(connection_t *);
extern int check_id(char *);
extern int forward_request(connection_t *);
extern int receive_request(connection_t *);
extern int check_id(char *);