Tests: Fix memory leaks in test_block_header.
[xz/debian.git] / src / common / tuklib_cpucores.h
blobbe1ce1c175ae452d17a2f596b40a025b0fd7d8d4
1 ///////////////////////////////////////////////////////////////////////////////
2 //
3 /// \file tuklib_cpucores.h
4 /// \brief Get the number of CPU cores online
5 //
6 // Author: Lasse Collin
7 //
8 // This file has been put into the public domain.
9 // You can do whatever you want with this file.
11 ///////////////////////////////////////////////////////////////////////////////
13 #ifndef TUKLIB_CPUCORES_H
14 #define TUKLIB_CPUCORES_H
16 #include "tuklib_common.h"
17 TUKLIB_DECLS_BEGIN
19 #define tuklib_cpucores TUKLIB_SYMBOL(tuklib_cpucores)
20 extern uint32_t tuklib_cpucores(void);
22 TUKLIB_DECLS_END
23 #endif