]> rtime.felk.cvut.cz Git - ulut.git/commitdiff
Adapted to changed inline function inclusion in gcc output.
authorPetr Porazil <porazil@volny.cz>
Tue, 24 Nov 2015 13:41:27 +0000 (14:41 +0100)
committerPetr Porazil <porazil@volny.cz>
Tue, 24 Nov 2015 13:41:27 +0000 (14:41 +0100)
Signed-off-by: Petr Porazil <porazil@volny.cz>
ulut/ul_gavlchk.c
ulut/ul_gsachk.c
ulut/ul_hashtabchk.c

index 66deb3119b04588e10b08dd44f4eb06ca9dc1d43..a1fc05b5c9d7cef27b4ecb3fb151e755972b2fe2 100644 (file)
@@ -134,7 +134,7 @@ GAVL_FLES_INT_DEC(cust2, cust2_root_t, cust2_item_t, cust2_key_t,
        my_root, my_node, my_val, cust2_cmp_fnc)
 #endif /*GAVL_TEST_FLES*/
 
-inline int
+static inline int
 cust2_cmp_fnc(const cust2_key_t *a, const cust2_key_t *b)
 {
   if (*a>*b) return 1;
index 3a16c3d6f9dccbc590a8a791e6d17e90c3b94198..59d6102e23fff9b03c304ca654e2d0aa20b75d46 100644 (file)
@@ -42,7 +42,7 @@ typedef int cust2_key_t;
 GSA_CUST_DEC(cust2, cust2_root_t, cust2_item_t, cust2_key_t,
        my_root, my_val, cust2_cmp_fnc)
 
-inline int
+static inline int
 cust2_cmp_fnc(const cust2_key_t *a, const cust2_key_t *b)
 {
   if (*a>*b) return 1;
index 3312fd0bc850cf20445788ac01782c620e2b2a22..3e5e24e0f3c3b9ac0488d71aa439aa752547f945 100644 (file)
@@ -36,7 +36,7 @@ typedef int cust3_key_t;
 UL_HASTAB_CUST_NODE_INT_DEC(cust3, cust3_table_t, cust3_item_t, cust3_key_t,
        my_table, my_node, my_val, cust3_cmp_fnc)
 
-inline int
+static inline int
 cust3_cmp_fnc(const cust3_key_t *a, const cust3_key_t *b)
 {
   if (*a>*b) return 1;
@@ -44,13 +44,13 @@ cust3_cmp_fnc(const cust3_key_t *a, const cust3_key_t *b)
   return 0;
 }
 
-inline ul_hashtab_hashval_t
+static inline ul_hashtab_hashval_t
 cust3_hash_fnc(const cust3_key_t *a)
 {
   return *a;
 }
 
-inline ul_hashtab_hashval_t
+static inline ul_hashtab_hashval_t
 cust3_hash_get_fnc(const cust3_item_t *item)
 {
  #ifdef UL_HASHTAB_WITH_HASHVAL
@@ -60,7 +60,7 @@ cust3_hash_get_fnc(const cust3_item_t *item)
  #endif /*UL_HASHTAB_WITH_HASHCACHE*/
 }
 
-inline void
+static inline void
 cust_hash_prep_fnc(cust3_item_t *item)
 {
  #ifdef UL_HASHTAB_WITH_HASHVAL