Commit 1ebf011a authored by Kai Vehmanen's avatar Kai Vehmanen

Moved prototype of nh_destructor to file scope.

darcs-hash:20060503095735-7659e-5f2eeeb79056c3bd03d58c9174470d1abaf89f7f.gz
parent 0fd9917b
......@@ -73,6 +73,8 @@
#include "nua_stack.h"
static void nh_destructor(void *arg);
/**@internal
* Create an operation handle
*
......@@ -170,7 +172,6 @@ nua_handle_t *nh_create_handle(nua_t *nua, nua_hmagic_t *hmagic,
if (nh && _handle_lifetime) {
/* This far, we have nothing real to destruct */
static void nh_destructor(void *arg);
if (_handle_lifetime == 1 && !getenv("_NUA_HANDLE_DEBUG")) {
_handle_lifetime = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment