diff options
author | ache <ache@FreeBSD.org> | 1994-09-24 16:01:30 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1994-09-24 16:01:30 +0000 |
commit | 89b0add9b2e5440baeee0f18201354f7ae400b15 (patch) | |
tree | 10cbdd74af062b9395f2fa56357ef2eee1588752 /lib | |
parent | 476696843bae8161ce814be1955558627af27e23 (diff) | |
download | FreeBSD-src-89b0add9b2e5440baeee0f18201354f7ae400b15.zip FreeBSD-src-89b0add9b2e5440baeee0f18201354f7ae400b15.tar.gz |
Call reduced (8-bit only) startup_setlocale()
Diffstat (limited to 'lib')
-rw-r--r-- | lib/csu/i386/crt0.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/csu/i386/crt0.c b/lib/csu/i386/crt0.c index f15b08f..f0ed885 100644 --- a/lib/csu/i386/crt0.c +++ b/lib/csu/i386/crt0.c @@ -27,7 +27,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: crt0.c,v 1.12 1994/09/18 22:21:04 ache Exp $ + * $Id: crt0.c,v 1.13 1994/09/19 02:00:21 ache Exp $ */ @@ -41,6 +41,7 @@ int _callmain(); #include <sys/param.h> #include <locale.h> #include <stdlib.h> +extern void _startup_setlocale __P((int, const char *)); #ifdef DYNAMIC #include <sys/types.h> @@ -178,7 +179,7 @@ asm("eprol:"); #endif /* MCRT0 */ if (getenv("ENABLE_STARTUP_LOCALE") != NULL) - (void) setlocale(LC_ALL, ""); + _startup_setlocale(LC_ALL, ""); asm ("__callmain:"); /* Defined for the benefit of debuggers */ exit(main(kfp->kargc, argv, environ)); |