diff options
author | Roland McGrath <roland@gnu.org> | 2001-02-26 04:15:27 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2001-02-26 04:15:27 +0000 |
commit | 2cae8af5c5a32c6258a63b0b385bd231b7397e81 (patch) | |
tree | a59d76fd6402c3ca6e34be9cd7dcc4fde188f541 /libthreads/i386/thread.c | |
parent | 39c1ac6d54c217cef4bbd926d699a735ccfdd219 (diff) |
2001-02-25 Roland McGrath <roland@frob.com>
* i386/thread.c: Remove superfluous bzero decl,
just include <strings.h> instead.
Diffstat (limited to 'libthreads/i386/thread.c')
-rw-r--r-- | libthreads/i386/thread.c | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/libthreads/i386/thread.c b/libthreads/i386/thread.c index 38f91192..dc0a3e32 100644 --- a/libthreads/i386/thread.c +++ b/libthreads/i386/thread.c @@ -1,53 +1,58 @@ -/* +/* * Mach Operating System * Copyright (c) 1991,1990 Carnegie Mellon University * All Rights Reserved. - * + * * Permission to use, copy, modify and distribute this software and its * documentation is hereby granted, provided that both the copyright * notice and this permission notice appear in all copies of the * software, derivative works or modified versions, and any portions * thereof, and that both notices appear in supporting documentation. - * + * * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. - * + * * Carnegie Mellon requests users of this software to return to - * + * * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU * School of Computer Science * Carnegie Mellon University * Pittsburgh PA 15213-3890 - * + * * any improvements or extensions that they make and grant Carnegie Mellon * the rights to redistribute these changes. */ /* * HISTORY * $Log: thread.c,v $ + * Revision 1.3 1997/02/18 22:53:31 miles + * (cproc_setup): + * Correctly leave space at top of stack for account for GNU per-thread + * variables. + * * Revision 1.2 1994/05/04 19:05:26 mib * entered into RCS * * Revision 2.6 91/07/31 18:37:07 dbg * Undefine cthread_sp macro around function definition. * [91/07/30 17:36:23 dbg] - * + * * Revision 2.5 91/05/14 17:57:27 mrt * Correcting copyright - * + * * Revision 2.4 91/02/14 14:20:21 mrt * Changed to new Mach copyright * [91/02/13 12:20:10 mrt] - * + * * Revision 2.3 90/06/02 15:13:53 rpd * Added definition of cthread_sp. * [90/06/02 rpd] - * + * * Revision 2.2 90/05/03 15:55:03 dbg * Created (from 68020 version). * [90/02/05 dbg] - * + * */ /* * i386/thread.c @@ -55,20 +60,15 @@ */ #ifndef lint -static char rcs_id[] = "$Header: cvs-sans-libpthread/hurd/libthreads/i386/thread.c,v 1.3 1997/02/18 22:53:31 miles Exp $"; +static char rcs_id[] = "$Header: cvs-sans-libpthread/hurd/libthreads/i386/thread.c,v 1.4 2001/02/26 04:15:27 roland Exp $"; #endif not lint #include "../cthreads.h" #include "../cthread_internals.h" - - +#include <strings.h> #include <mach/mach.h> -/* - * C library imports: - */ -extern bzero(); /* * Set up the initial state of a MACH thread @@ -120,4 +120,3 @@ cthread_sp() return (int) &x; } - |