[sr-dev] git:master: xmlrpc: removed redeclaration of v/snprintf()

Daniel-Constantin Mierla miconda at gmail.com
Thu Sep 29 10:26:56 CEST 2011


Module: sip-router
Branch: master
Commit: cbc9536d27b23115a0731a6f93bd8ef1b673be1c
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=cbc9536d27b23115a0731a6f93bd8ef1b673be1c

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Wed Sep 28 22:48:23 2011 +0200

xmlrpc: removed redeclaration of v/snprintf()

- otherwise throws error on mac os x when redeclaring functions from stdio.h

---

 modules/xmlrpc/xmlrpc.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/modules/xmlrpc/xmlrpc.c b/modules/xmlrpc/xmlrpc.c
index 7528ea3..8824a30 100644
--- a/modules/xmlrpc/xmlrpc.c
+++ b/modules/xmlrpc/xmlrpc.c
@@ -147,9 +147,6 @@
 
 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 dispatch_rpc(sip_msg_t* msg, char* s1, char* s2);
 static int xmlrpc_reply(sip_msg_t* msg, char* code, char* reason);




More information about the sr-dev mailing list