浏览代码

p_usrloc: commenting out unused db_timer_udomain() to get rid of compiler warnings

Ovidiu Sas 12 年之前
父节点
当前提交
4baf0389c5
共有 2 个文件被更改,包括 4 次插入0 次删除
  1. 2 0
      modules/p_usrloc/udomain.c
  2. 2 0
      modules/p_usrloc/udomain.h

+ 2 - 0
modules/p_usrloc/udomain.c

@@ -589,6 +589,7 @@ done:
  * \param _d cleaned domain
  * \return 0 on success, -1 on failure
  */
+/*
 int db_timer_udomain(udomain_t* _d)
 {
 	db_key_t keys[2];
@@ -611,6 +612,7 @@ int db_timer_udomain(udomain_t* _d)
 	//if (ul_db_layer_delete(_d, NULL, NULL, keys, ops, vals, 2) < 0) { //FIXME
 	return 0;
 }
+*/
 
 
 

+ 2 - 0
modules/p_usrloc/udomain.h

@@ -95,7 +95,9 @@ void print_udomain(FILE* _f, udomain_t* _d);
  * \param _d cleaned domain
  * \return 0 on success, -1 on failure
  */
+/*
 int db_timer_udomain(udomain_t* _d);
+*/
 
 
 /*!