thread_create_thread_start() is a thread_func and therefore returns int32 not status_t
(that's what our headers say). Some style fixes in signal.c. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14192 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -609,17 +609,18 @@ _user_sigsuspend(const sigset_t *mask)
|
||||
if (user_memcpy(&set, mask, sizeof(sigset_t)) < B_OK)
|
||||
return B_BAD_ADDRESS;
|
||||
|
||||
// Todo : implement
|
||||
return EINVAL;
|
||||
// ToDo: implement
|
||||
return B_ERROR;
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
_user_sigpending(sigset_t *set) {
|
||||
_user_sigpending(sigset_t *set)
|
||||
{
|
||||
if (set == NULL)
|
||||
return B_BAD_VALUE;
|
||||
|
||||
// Todo : implement
|
||||
return EINVAL;
|
||||
// ToDo: implement
|
||||
return B_ERROR;
|
||||
}
|
||||
|
||||
|
||||
@@ -900,7 +900,7 @@ create_team_arg(int32 argc, char **args, int32 envCount, char **env)
|
||||
}
|
||||
|
||||
|
||||
static status_t
|
||||
static int32
|
||||
team_create_thread_start(void *args)
|
||||
{
|
||||
status_t err;
|
||||
|
||||
Reference in New Issue
Block a user