X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=cfg%2Fmodule.h;h=8ada81a190fc0436a0f566a4efab26ab9d97c7e7;hb=0d1eaaacb138c1f339d0aa7c97163cf52924887f;hp=31bb07f23edeb88885a6572f9365c9cce73731f5;hpb=bd7e7624e20c538f2bc3c3d670cc4ae8e02cffd5;p=bertos.git diff --git a/cfg/module.h b/cfg/module.h old mode 100755 new mode 100644 index 31bb07f2..8ada81a1 --- a/cfg/module.h +++ b/cfg/module.h @@ -1,8 +1,33 @@ -/*! +/** * \file * * * \brief Debug macros for inter-module dependency checking. @@ -46,7 +71,7 @@ * * \see MOD_INIT(), MOD_CHECK() */ -#define MOD_DEFINE(module) DB(bool module ## _initialized;) +#define MOD_DEFINE(module) DB(extern bool module ## _initialized; bool module ## _initialized;) /** * Check that \a module was already initialized.