Browse Source

xmlrpc: removed redeclaration of v/snprintf()

- otherwise throws error on mac os x when redeclaring functions from stdio.h
Daniel-Constantin Mierla 14 years ago
parent
commit
cbc9536d27
1 changed files with 0 additions and 3 deletions
  1. 0 3
      modules/xmlrpc/xmlrpc.c

+ 0 - 3
modules/xmlrpc/xmlrpc.c

@@ -147,9 +147,6 @@
 
 
 MODULE_VERSION
 MODULE_VERSION
 
 
-int snprintf(char *str, size_t size, const char *format, ...);
-int vsnprintf(char *str, size_t size, const char *format, va_list ap);
-
 static int process_xmlrpc(sip_msg_t* msg);
 static int process_xmlrpc(sip_msg_t* msg);
 static int dispatch_rpc(sip_msg_t* msg, char* s1, char* s2);
 static int dispatch_rpc(sip_msg_t* msg, char* s1, char* s2);
 static int xmlrpc_reply(sip_msg_t* msg, char* code, char* reason);
 static int xmlrpc_reply(sip_msg_t* msg, char* code, char* reason);