newlib: Try to unify wrappers. And get rid of kos32sys.h
git-svn-id: svn://kolibrios.org@9874 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -22,6 +22,10 @@
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define KOSAPI static inline
|
||||
#define asm_inline __asm__ __volatile__
|
||||
|
||||
@@ -1617,7 +1621,7 @@ KOSAPI void _ksys_set_window_title(const char* title)
|
||||
|
||||
/*============= Function 77, subfunction 0 - create futex object =============*/
|
||||
|
||||
KOSAPI uint32_t _ksys_futex_create(int* futex_ctrl)
|
||||
KOSAPI uint32_t _ksys_futex_create(void* futex_ctrl)
|
||||
{
|
||||
uint32_t futex_desc;
|
||||
asm_inline(
|
||||
@@ -1722,4 +1726,8 @@ static inline int _ksys_file_write_file(const char* name, unsigned long long off
|
||||
return res.status;
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // _KSYS_H_
|
||||
|
Reference in New Issue
Block a user