The scope of the macro NUM_HANDLE is now restricted to upnpapi.c.

git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/branches/branch-1.6.x@568 119443c7-1b9e-41f8-b6fc-b9c35fce742c
This commit is contained in:
Marcelo Roberto Jimenez 2010-08-21 21:22:09 +00:00
parent 1605744278
commit c9bcee536e
4 changed files with 5 additions and 4 deletions

View File

@ -2,6 +2,9 @@
Version 1.6.7
*******************************************************************************
2010-08-21 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
* The scope of the macro NUM_HANDLE is now restricted to upnpapi.c.
2010-08-21 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
* InitHandleList() has never been implemented, I guess no one has ever
called it, so remove it.

View File

@ -85,7 +85,6 @@
#endif
#define NUM_HANDLE 200
#define LINE_SIZE 180
#define NAME_SIZE 256
#define MNFT_NAME_SIZE 64

View File

@ -165,7 +165,8 @@ unsigned short LOCAL_PORT_V4;
unsigned short LOCAL_PORT_V6;
/*! UPnP device and control point handle table */
void *HandleTable[NUM_HANDLE];
#define NUM_HANDLE 200
static void *HandleTable[NUM_HANDLE];
/*! a local dir which serves as webserver root */
extern membuffer gDocumentRootDir;

View File

@ -50,8 +50,6 @@
#define DEV_LIMIT 200
#define NUM_HANDLE 200
#define DEFAULT_MX 5
#define DEFAULT_MAXAGE 1800