From 5be410a7cd08291b3bf34552794d6d55698166d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 3 Mar 2004 01:09:17 +0000 Subject: [PATCH] Renamed thread/team syscalls to new scheme. Tuned the license a bit. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6880 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/libroot/posix/stdlib/exit.c | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/src/kernel/libroot/posix/stdlib/exit.c b/src/kernel/libroot/posix/stdlib/exit.c index 1dab60e976..a13489e328 100644 --- a/src/kernel/libroot/posix/stdlib/exit.c +++ b/src/kernel/libroot/posix/stdlib/exit.c @@ -1,17 +1,13 @@ /* - * Copyright (c) 2002, OpenBeOS Project. - * All rights reserved. - * Distributed under the terms of the OpenBeOS license. - * - * - * exit.c: - * implements the standard C library functions: - * abort, atexit, exit - * - * - * Author(s): - * Daniel Reinhold (danielre@users.sf.net) - * +** Copyright 2002-2004, The OpenBeOS Team. All rights reserved. +** Distributed under the terms of the OpenBeOS License. +** +** Author(s): Daniel Reinhold (danielre@users.sf.net) +** +*/ + +/* implements the standard C library functions: + * abort, atexit, exit */ @@ -66,6 +62,6 @@ exit(int status) _IO_cleanup(); // exit with status code - sys_exit(status); + _kern_exit(status); }