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:
parent
1605744278
commit
c9bcee536e
@ -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.
|
||||
|
@ -85,7 +85,6 @@
|
||||
#endif
|
||||
|
||||
|
||||
#define NUM_HANDLE 200
|
||||
#define LINE_SIZE 180
|
||||
#define NAME_SIZE 256
|
||||
#define MNFT_NAME_SIZE 64
|
||||
|
@ -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;
|
||||
|
@ -50,8 +50,6 @@
|
||||
|
||||
#define DEV_LIMIT 200
|
||||
|
||||
#define NUM_HANDLE 200
|
||||
|
||||
#define DEFAULT_MX 5
|
||||
|
||||
#define DEFAULT_MAXAGE 1800
|
||||
|
Loading…
Reference in New Issue
Block a user