aboutsummaryrefslogtreecommitdiff
path: root/external/miniupnpc/upnpdev.c
diff options
context:
space:
mode:
authoranonimal <anonimal@i2pmail.org>2018-04-19 06:28:55 +0000
committeranonimal <anonimal@i2pmail.org>2018-04-19 10:55:29 +0000
commit10685648677d9df6230b6b60a580f2ba8481d0a0 (patch)
tree25b33ba309f38f03b27c862d48bf49a8ebb9b853 /external/miniupnpc/upnpdev.c
parentMerge pull request #3606 (diff)
downloadmonero-10685648677d9df6230b6b60a580f2ba8481d0a0.tar.xz
Build: remove in-tree miniupnpc
Will be replaced by a submodule. (cherry picked from commit e962216678e699a8fc7eb271a8a515f5ca65f7cb)
Diffstat (limited to 'external/miniupnpc/upnpdev.c')
-rw-r--r--external/miniupnpc/upnpdev.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/external/miniupnpc/upnpdev.c b/external/miniupnpc/upnpdev.c
deleted file mode 100644
index d89a9934c..000000000
--- a/external/miniupnpc/upnpdev.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/* $Id: upnpdev.c,v 1.1 2015/08/28 12:14:19 nanard Exp $ */
-/* Project : miniupnp
- * Web : http://miniupnp.free.fr/
- * Author : Thomas BERNARD
- * copyright (c) 2005-2015 Thomas Bernard
- * This software is subjet to the conditions detailed in the
- * provided LICENSE file. */
-#include <stdlib.h>
-#include "upnpdev.h"
-
-/* freeUPNPDevlist() should be used to
- * free the chained list returned by upnpDiscover() */
-void freeUPNPDevlist(struct UPNPDev * devlist)
-{
- struct UPNPDev * next;
- while(devlist)
- {
- next = devlist->pNext;
- free(devlist);
- devlist = next;
- }
-}
-