mksh: no need for build/init_libc.c

This commit is contained in:
Giacomo Tesio 2017-11-20 00:45:25 +01:00
parent ee6977c8da
commit 0a24d1ca1e
1 changed files with 0 additions and 27 deletions

View File

@ -1,27 +0,0 @@
/*
* This file is part of Jehanne.
*
* Copyright (C) 2017 Giacomo Tesio <giacomo@tesio.it>
*
* This is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, version 3 of the License.
*
* Jehanne is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with Jehanne. If not, see <http://www.gnu.org/licenses/>.
*/
#include <u.h>
#include <libc.h>
#include <posix.h>
void
__application_newlib_init(void)
{
rfork(RFENVG|RFFDG|RFREND|RFNOTEG);
libposix_emulate_SIGCHLD();
}