1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-01-31 11:23:40 +00:00

(trunk third-party) get miniupnpc building again. the breakage has been reported upstream @ http://miniupnp.tuxfamily.org/forum/viewtopic.php?p=1452#1452

This commit is contained in:
Charles Kerr 2009-09-24 14:39:28 +00:00
parent ad019c6009
commit 44d7373b60
3 changed files with 6 additions and 3 deletions

View file

@ -34,6 +34,7 @@
#else
/* Standard POSIX includes */
#include <unistd.h>
#include <sys/select.h> /* fd_set */
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/param.h>
@ -697,7 +698,7 @@ int ReceiveData(int socket, char * data, int length, int timeout)
return n;
}
int
static int
UPNPIGD_IsConnected(struct UPNPUrls * urls, struct IGDdatas * data)
{
char status[64];

View file

@ -20,6 +20,7 @@
#else
#include <unistd.h>
#include <sys/param.h>
#include <sys/select.h> /* fd_set */
#include <sys/socket.h>
#include <netdb.h>
#include <netinet/in.h>
@ -33,6 +34,7 @@
#endif
#include "miniupnpcstrings.h"
#include "miniwget.h"
/* miniwget2() :
* */

View file

@ -35,7 +35,7 @@ POSSIBILITY OF SUCH DAMAGE.
/* parseatt : used to parse the argument list
* return 0 (false) in case of success and -1 (true) if the end
* of the xmlbuffer is reached. */
int parseatt(struct xmlparser * p)
static int parseatt(struct xmlparser * p)
{
const char * attname;
int attnamelen;
@ -106,7 +106,7 @@ int parseatt(struct xmlparser * p)
/* parseelt parse the xml stream and
* call the callback functions when needed... */
void parseelt(struct xmlparser * p)
static void parseelt(struct xmlparser * p)
{
int i;
const char * elementname;