fix missing static inline for map functions

Fri, 27 May 2022 11:39:50 +0200

author
Mike Becker <universe@uap-core.de>
date
Fri, 27 May 2022 11:39:50 +0200
changeset 553
8f7d3e7b5b93
parent 552
4373c2a90066
child 554
fd3d843b839d

fix missing static inline for map functions

src/cx/map.h file | annotate | diff | comparison | revisions
--- a/src/cx/map.h	Sat May 21 12:10:25 2022 +0200
+++ b/src/cx/map.h	Fri May 27 11:39:50 2022 +0200
@@ -190,7 +190,7 @@
  * @return the value
  */
 __attribute__((__nonnull__, __warn_unused_result__))
-void *cxMapGet(
+static inline void *cxMapGet(
         CxMap const *map,
         CxDataPtr key
 ) {
@@ -205,7 +205,7 @@
  * @return the removed value
  */
 __attribute__((__nonnull__, __warn_unused_result__))
-void *cxMapRemove(
+static inline void *cxMapRemove(
         CxMap *map,
         CxDataPtr key
 ) {

mercurial