Fixed status_t/int/int32 issues.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1124 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
822cb704e9
commit
f200ef51c2
@ -76,7 +76,7 @@ ssize_t port_count(port_id port)
|
|||||||
{ return sys_port_count(port); }
|
{ return sys_port_count(port); }
|
||||||
|
|
||||||
// OK
|
// OK
|
||||||
int set_port_owner(port_id port, team_id team)
|
status_t set_port_owner(port_id port, team_id team)
|
||||||
{ return sys_port_set_owner(port, team); }
|
{ return sys_port_set_owner(port, team); }
|
||||||
|
|
||||||
// OK
|
// OK
|
||||||
@ -137,7 +137,7 @@ status_t _get_sem_info(sem_id sem, sem_info *info, size_t size)
|
|||||||
{ return sys_get_sem_info(sem,info, size); }
|
{ return sys_get_sem_info(sem,info, size); }
|
||||||
|
|
||||||
// OK
|
// OK
|
||||||
int _get_next_sem_info(team_id team, int32 *cookie, sem_info *info, size_t size)
|
status_t _get_next_sem_info(team_id team, int32 *cookie, sem_info *info, size_t size)
|
||||||
{ return sys_get_next_sem_info(team,cookie,info, size); }
|
{ return sys_get_next_sem_info(team,cookie,info, size); }
|
||||||
|
|
||||||
// TO DO
|
// TO DO
|
||||||
|
@ -1,11 +1,7 @@
|
|||||||
#ifndef _LIBROOT_TYPES_H
|
#ifndef _LIBROOT_TYPES_H
|
||||||
#define _LIBROOT_TYPES_H
|
#define _LIBROOT_TYPES_H
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#include <sys/types.h>
|
||||||
"C" {
|
|
||||||
#endif
|
|
||||||
#include <types.h>
|
|
||||||
#include <ktypes.h>
|
|
||||||
#include <defines.h>
|
#include <defines.h>
|
||||||
|
|
||||||
#define B_NO_LOCK 0
|
#define B_NO_LOCK 0
|
||||||
@ -37,7 +33,7 @@ enum {
|
|||||||
#define B_URGENT_PRIORITY 110
|
#define B_URGENT_PRIORITY 110
|
||||||
#define B_REAL_TIME_PRIORITY 120
|
#define B_REAL_TIME_PRIORITY 120
|
||||||
|
|
||||||
thread_id spawn_thread (
|
thread_id spawn_thread (
|
||||||
thread_func function_name,
|
thread_func function_name,
|
||||||
const char *thread_name,
|
const char *thread_name,
|
||||||
int32 priority,
|
int32 priority,
|
||||||
@ -206,8 +202,5 @@ struct {
|
|||||||
} regs;
|
} regs;
|
||||||
} cpuid_info;
|
} cpuid_info;
|
||||||
#endif
|
#endif
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* ifdef _LIBROOT_TYPES_ */
|
#endif /* ifdef _LIBROOT_TYPES_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user