浏览代码

Some internal rename

Serj Kalichev 7 月之前
父节点
当前提交
50b48ca818
共有 1 个文件被更改,包括 4 次插入3 次删除
  1. 4 3
      src/syms.c

+ 4 - 3
src/syms.c

@@ -1111,7 +1111,8 @@ err:
 }
 
 
-static int srp_compl_xpath(kcontext_t *context, const sr_datastore_t datastore)
+static int srp_compl_xpath_common(kcontext_t *context,
+	const sr_datastore_t datastore)
 {
 	sr_session_ctx_t *sess = NULL;
 	sr_val_t *vals = NULL;
@@ -1147,11 +1148,11 @@ static int srp_compl_xpath(kcontext_t *context, const sr_datastore_t datastore)
 
 int srp_compl_xpath_running(kcontext_t *context)
 {
-	return srp_compl_xpath(context, SR_DS_RUNNING);
+	return srp_compl_xpath_common(context, SR_DS_RUNNING);
 }
 
 
 int srp_compl_xpath_candidate(kcontext_t *context)
 {
-	return srp_compl_xpath(context, SR_DS_CANDIDATE);
+	return srp_compl_xpath_common(context, SR_DS_CANDIDATE);
 }