Overview
Comment: | Make headers compatible with -Wunused-parameter |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
f01f8eb45b5dca8a90e6c2bebe685f26 |
User & Date: | js on 2024-08-11 13:23:40 |
Other Links: | manifest | tags |
Context
2024-08-11
| ||
13:28 | Update ChangeLog for 1.1.6 check-in: 920f7060d3 user: js tags: trunk | |
13:23 | Make headers compatible with -Wunused-parameter check-in: 668be94ea4 user: js tags: 1.1 | |
13:23 | Make headers compatible with -Wunused-parameter check-in: f01f8eb45b user: js tags: trunk | |
09:04 | Update buildsys check-in: fdcf97fd30 user: js tags: trunk | |
Changes
Modified src/OFPlainMutex.h from [31506d7dcf] to [b6a04ba6c6].
︙ | ︙ | |||
274 275 276 277 278 279 280 281 282 283 284 285 286 287 | * @param spinlock A pointer to the spinlock to destroy * @return 0 on success, or an error number from `<errno.h>` on error */ static OF_INLINE int OFSpinlockFree(OFSpinlock *spinlock) { #if defined(OF_HAVE_ATOMIC_OPS) return 0; #elif defined(OF_HAVE_PTHREAD_SPINLOCKS) return pthread_spin_destroy(spinlock); #else return OFPlainMutexFree(spinlock); #endif } | > > | 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 | * @param spinlock A pointer to the spinlock to destroy * @return 0 on success, or an error number from `<errno.h>` on error */ static OF_INLINE int OFSpinlockFree(OFSpinlock *spinlock) { #if defined(OF_HAVE_ATOMIC_OPS) (void)spinlock; return 0; #elif defined(OF_HAVE_PTHREAD_SPINLOCKS) return pthread_spin_destroy(spinlock); #else return OFPlainMutexFree(spinlock); #endif } |