فهرست منبع

path: updating the exported expected parameters to match the functions

- Mismatch between export and function declaration with regards to the quantity of parameters
Samuel 7 سال پیش
والد
کامیت
2fda4db20e
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      src/modules/path/path_mod.c

+ 2 - 2
src/modules/path/path_mod.c

@@ -164,7 +164,7 @@ static int mod_init(void)
 static sr_kemi_t sr_kemi_path_exports[] = {
 	{ str_init("path"), str_init("add_path"),
 		SR_KEMIP_INT, ki_add_path,
-		{ SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE,
+		{ SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE,
 			SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
 	},
 	{ str_init("path"), str_init("add_path_user"),
@@ -179,7 +179,7 @@ static sr_kemi_t sr_kemi_path_exports[] = {
 	},
 	{ str_init("path"), str_init("add_path_received"),
 		SR_KEMIP_INT, ki_add_path_received,
-		{ SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE,
+		{ SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE,
 			SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
 	},
 	{ str_init("path"), str_init("add_path_received_user"),