Skip to content
Snippets Groups Projects
Commit a908a61c authored by Gregory Nutt's avatar Gregory Nutt
Browse files

Various module-related cosmetic changes

parent 303123de
Branches
Tags
No related merge requests found
arch @ 982356fa
Subproject commit fb81d9d623c311e42128cfb026077db89bdec182
Subproject commit 982356fab5364d3f70f54483394cec9cfe9b9199
configs @ 050dca04
Subproject commit 7a90dc61627c97dc6e6b4cfd252288a91a821a09
Subproject commit 050dca048e92cec8f8d04075553d75025a31f2d4
......@@ -129,7 +129,7 @@ struct module_s
* resources used by the loaded module.
*/
mod_uninitializer_t uninitializer; /* Module initializer function */
mod_uninitializer_t uninitializer; /* Module uninitializer function */
FAR void *arg; /* Uninitializer argument */
FAR void *alloc; /* Allocated kernel memory */
};
......
......@@ -51,28 +51,6 @@
#include "module.h"
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
/* CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and CONFIG_MODULE_DUMPBUFFER have to
* be defined or CONFIG_MODULE_DUMPBUFFER does nothing.
*/
#if !defined(CONFIG_DEBUG_VERBOSE) || !defined (CONFIG_MODULE_DUMPBUFFER)
# undef CONFIG_MODULE_DUMPBUFFER
#endif
#ifndef CONFIG_MODULE_BUFFERSIZE
# define CONFIG_MODULE_BUFFERSIZE 128
#endif
#ifdef CONFIG_MODULE_DUMPBUFFER
# define mod_dumpbuffer(m,b,n) svdbgdumpbuffer(m,b,n)
#else
# define mod_dumpbuffer(m,b,n)
#endif
/****************************************************************************
* Private Functions
****************************************************************************/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment