diff options
Diffstat (limited to 'libelf/elf_nextscn.c')
| -rw-r--r-- | libelf/elf_nextscn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libelf/elf_nextscn.c b/libelf/elf_nextscn.c index 0a21c76f..a1842bb3 100644 --- a/libelf/elf_nextscn.c +++ b/libelf/elf_nextscn.c @@ -69,7 +69,7 @@ elf_nextscn (elf, scn) if (elf == NULL) return NULL; - RWLOCK_RDLOCK (elf->lock); + rwlock_rdlock (elf->lock); if (scn == NULL) { @@ -103,7 +103,7 @@ elf_nextscn (elf, scn) } } - RWLOCK_UNLOCK (elf->lock); + rwlock_unlock (elf->lock); return result; } |
