Various module-related cosmetic changes

This commit is contained in:
Gregory Nutt
2015-12-12 12:55:50 -06:00
parent 303123deb9
commit a908a61c5a
4 changed files with 3 additions and 25 deletions
+1 -1
Submodule arch updated: fb81d9d623...982356fab5
+1 -1
Submodule configs updated: 7a90dc6162...050dca048e
+1 -1
View File
@@ -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 */
};
-22
View File
@@ -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
****************************************************************************/