Browse Source

The inline is first in declaration line

Serj Kalichev 10 years ago
parent
commit
84a1227201
1 changed files with 2 additions and 2 deletions
  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);
 }