@@ -107,14 +107,6 @@ ZTD_USE(ZTD_THREAD_API_LINKAGE)
107107// / @brief The null id value, which represents an invalid id.
108108const ztdc_thrd_id_t ztdc_thrd_null_id;
109109
110- ZTD_USE (ZTD_C_LANGUAGE_LINKAGE)
111- ZTD_USE(ZTD_THREAD_API_LINKAGE)
112- // / @brief Returns the native handle out of the current thread.
113- // /
114- // / @return The native "handle" object which represents this thread. May be an invalid sentinel type if it can't fetch
115- // / it properly.
116- ztdc_thrd_native_handle_t ztdc_thrd_current_native_handle();
117-
118110ZTD_USE (ZTD_C_LANGUAGE_LINKAGE)
119111ZTD_USE(ZTD_THREAD_API_LINKAGE)
120112// / @brief Returns the native handle out of `__thr`.
@@ -126,6 +118,14 @@ ZTD_USE(ZTD_THREAD_API_LINKAGE)
126118// / properly.
127119ztdc_thrd_native_handle_t ztdc_thrd_native_handle(thrd_t __thr);
128120
121+ ZTD_USE (ZTD_C_LANGUAGE_LINKAGE)
122+ ZTD_USE(ZTD_THREAD_API_LINKAGE)
123+ // / @brief Returns the native handle out of the current thread.
124+ // /
125+ // / @return The native "handle" object which represents this thread. May be an invalid sentinel type if it can't fetch
126+ // / it properly.
127+ ztdc_thrd_native_handle_t ztdc_thrd_current_native_handle(void );
128+
129129ZTD_USE (ZTD_C_LANGUAGE_LINKAGE)
130130ZTD_USE(ZTD_THREAD_API_LINKAGE)
131131// / @brief Returns the native id out of `__thr`.
@@ -141,6 +141,6 @@ ZTD_USE(ZTD_THREAD_API_LINKAGE)
141141// / @brief Returns the native id out of the current thread.
142142// /
143143// / @return The native "ID" object which represents this thread. May be an invalid sentinel type if this.
144- ztdc_thrd_id_t ztdc_thrd_current_id();
144+ ztdc_thrd_id_t ztdc_thrd_current_id(void );
145145
146146#endif
0 commit comments