]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/common/include/generic/rte_rwlock.h
eal: simplify meson build of common directory
[dpdk.git] / lib / librte_eal / common / include / generic / rte_rwlock.h
index 31608fa2eaa19991062f38d4df5b29ad46f1669c..da9bc3e9c0e2fd98d2a040f1daae91de14555b9d 100644 (file)
@@ -88,7 +88,8 @@ rte_rwlock_read_lock(rte_rwlock_t *rwl)
  *   - -EBUSY if lock could not be acquired for reading because a
  *     writer holds the lock
  */
-static inline __rte_experimental int
+__rte_experimental
+static inline int
 rte_rwlock_read_trylock(rte_rwlock_t *rwl)
 {
        int32_t x;
@@ -131,7 +132,8 @@ rte_rwlock_read_unlock(rte_rwlock_t *rwl)
  *   - -EBUSY if lock could not be acquired for writing because
  *     it was already locked for reading or writing
  */
-static inline __rte_experimental int
+__rte_experimental
+static inline int
 rte_rwlock_write_trylock(rte_rwlock_t *rwl)
 {
        int32_t x;