瀏覽代碼

The inline is first in declaration line

Serj Kalichev 10 年之前
父節點
當前提交
84a1227201
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lub/list/list.c

+ 2 - 2
lub/list/list.c

@@ -25,7 +25,7 @@ lub_list_t *lub_list_new(lub_list_compare_fn compareFn)
 }
 
 /*--------------------------------------------------------- */
-void inline lub_list_free(lub_list_t *this)
+inline void lub_list_free(lub_list_t *this)
 {
 	free(this);
 }
@@ -93,7 +93,7 @@ inline lub_list_node_t *lub_list_iterator_prev(lub_list_node_t *this)
 }
 
 /*--------------------------------------------------------- */
-void inline lub_list_node_free(lub_list_node_t *this)
+inline void lub_list_node_free(lub_list_node_t *this)
 {
 	free(this);
 }