diff options
Diffstat (limited to 'nuttx/netutils/thttpd/httpd_alloc.h')
-rwxr-xr-x | nuttx/netutils/thttpd/httpd_alloc.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/nuttx/netutils/thttpd/httpd_alloc.h b/nuttx/netutils/thttpd/httpd_alloc.h index dd687a583..c3b3eb27e 100755 --- a/nuttx/netutils/thttpd/httpd_alloc.h +++ b/nuttx/netutils/thttpd/httpd_alloc.h @@ -51,7 +51,7 @@ /* Allows all memory management calls to be intercepted */ -#if defined(CONFIG_DEBUG) && defined(CONFIG_DEBUG_NET) +#ifdef CONFIG_THTTPD_MEMDEBUG extern FAR void *httpd_malloc(size_t nbytes); extern FAR void *httpd_realloc(FAR void *oldptr, size_t oldsize, size_t newsize); extern void httpd_free(FAR void *ptr); @@ -70,13 +70,5 @@ extern void httpd_free(FAR void *ptr); extern void httpd_realloc_str(char **pstr, size_t *maxsizeP, size_t size); -/* Generate debugging statistics */ - -#if defined(CONFIG_DEBUG) && defined(CONFIG_DEBUG_NET) -extern void httpd_memstats(void); -#else -# define httpd_memstats() -#endif - #endif /* CONFIG_THTTPD */ #endif /* __NETUTILS_THTTPD_HTTDP_ALLOC_H */ |