summaryrefslogtreecommitdiffstats
path: root/src/framework/include/nsfw_init.h
diff options
context:
space:
mode:
authorRahul Gupta <rahul.g.chimera@gmail.com>2018-06-26 11:19:13 +0530
committerRahul Gupta <rahul.g.chimera@gmail.com>2018-06-26 11:19:13 +0530
commit82b5e45ebf316afd7daa97d9f9b7b75636fb4e64 (patch)
treefabed7d2c0cc187206b2f2e768a4afaafa046bd8 /src/framework/include/nsfw_init.h
parent24cbcfaa6fa1121dec1a029a1df114f065341156 (diff)
Spell correction
Change-Id: Icc062e358398ecf0fc46b7a55ce1c37a71aee650 Signed-off-by: Rahul Gupta <rahul.g.chimera@gmail.com>
Diffstat (limited to 'src/framework/include/nsfw_init.h')
-rw-r--r--src/framework/include/nsfw_init.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/framework/include/nsfw_init.h b/src/framework/include/nsfw_init.h
index def97b2..0237060 100644
--- a/src/framework/include/nsfw_init.h
+++ b/src/framework/include/nsfw_init.h
@@ -33,7 +33,7 @@ extern "C"{
#define NSFW_SET_INSTANCE_VALUE(_attr, _inst, _value) \
nsfw_module_set_instance_##_attr(_inst, _value)
-#define NSFW_INIT_CRAETE_LOCAL_INSTANCE() \
+#define NSFW_INIT_CREATE_LOCAL_INSTANCE() \
if (!nsfwLocalInitInst) {\
nsfwLocalInitInst = nsfw_module_create_instance(); \
nsfw_module_add_instance(nsfwLocalInitInst);\
@@ -41,7 +41,7 @@ extern "C"{
#define _NSFW_MODULE_ATTRIBUTE_DEFINE_SURFIX(_attr, _value, _priority, _surfix) \
static __attribute__((__constructor__(_priority))) void nsfw_module_attribute_##_attr##_surfix(void){\
- NSFW_INIT_CRAETE_LOCAL_INSTANCE(); \
+ NSFW_INIT_CREATE_LOCAL_INSTANCE(); \
NSFW_SET_INSTANCE_VALUE(_attr, nsfwLocalInitInst, _value);\
} \
@@ -123,8 +123,8 @@ extern void nsfw_module_set_instance_depends (nsfw_module_instance_t * inst,
/**
* @Function nstack_framework_init
- * @Description This function will do framework initial work, it will involk all initial functions
- * registed using macro NSFW_MODULE_INIT before
+ * @Description This function will do framework initial work, it will invoke all initial functions
+ * registered using macro NSFW_MODULE_INIT before
* @param none
* @return 0 on success, -1 on error
*/