The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

a/os: Fix naming convention for function pointer

authored by

Ryan Pavlik and committed by
Jakob Bornecrantz
1aba4348 4d9c3650

+4 -4
+4 -4
src/xrt/auxiliary/os/os_threading.h
··· 1 - // Copyright 2019, Collabora, Ltd. 1 + // Copyright 2019-2022, Collabora, Ltd. 2 2 // SPDX-License-Identifier: BSL-1.0 3 3 /*! 4 4 * @file ··· 187 187 * 188 188 * @public @memberof os_thread 189 189 */ 190 - typedef void *(*os_run_func)(void *); 190 + typedef void *(*os_run_func_t)(void *); 191 191 192 192 /*! 193 193 * Init. ··· 206 206 * @public @memberof os_thread 207 207 */ 208 208 static inline int 209 - os_thread_start(struct os_thread *ost, os_run_func func, void *ptr) 209 + os_thread_start(struct os_thread *ost, os_run_func_t func, void *ptr) 210 210 { 211 211 return pthread_create(&ost->thread, NULL, func, ptr); 212 212 } ··· 397 397 * @public @memberof os_thread_helper 398 398 */ 399 399 static inline int 400 - os_thread_helper_start(struct os_thread_helper *oth, os_run_func func, void *ptr) 400 + os_thread_helper_start(struct os_thread_helper *oth, os_run_func_t func, void *ptr) 401 401 { 402 402 pthread_mutex_lock(&oth->mutex); 403 403