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:
Axel Dörfler
2005-09-16 12:52:59 +00:00
parent 8b94d5ecdd
commit d86d4063b0
2 changed files with 7 additions and 6 deletions
+6 -5
View File
@@ -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;
}
+1 -1
View File
@@ -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;