summary refs log tree commit diff
path: root/csu/gmon-start.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-01-23 10:00:23 +0000
committerRoland McGrath <roland@gnu.org>1996-01-23 10:00:23 +0000
commit1d8dc4293f772369e2da018ba5f1bf6e67967f3a (patch)
treee3b745c6fd5c1de37f20768079a419cebacdd41e /csu/gmon-start.c
parentf2f7f9e665975125ef253d7a621bcc3e4f68904d (diff)
downloadglibc-1d8dc4293f772369e2da018ba5f1bf6e67967f3a.tar.gz
glibc-1d8dc4293f772369e2da018ba5f1bf6e67967f3a.tar.xz
glibc-1d8dc4293f772369e2da018ba5f1bf6e67967f3a.zip
Mon Jan 22 10:40:40 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> cvs/libc-960123
	* sysdeps/posix/getcwd.c [__GNU_LIBRARY__]: Include unistd.h.

	* io/fts.h (FTSENT): Define fts_compar member with prototype.

	* hurd/hurd.h: Use prototype in getcttyid decl.

	* stdlib/l64a.c: Fix typo in last change.

	* stdlib/drand48-iter.c: Test limits.h macros instead of sizeof
	for determining size of types.
	* stdlib/srand48_r.c: Likewise.

	* misc/utmp.h: Declare login, logout, logwtmp.
	* misc/logout.c: Declare argument as pointer to const.
	* misc/login.c: Likewise.
	* misc/logwtmp.c: Likewise.
	Include time.h, string.h.

	* misc/efgcvt_r.c: Include stdlib.h.

	* io/mknod.c: Include sys/types.h.

	* gmon/sys/gmon.h: Declare monstartup, _mcleanup.

	* csu/gmon-start.c (_start, etext): Declare with prototypes.

	* stdio-common/vfscanf.c (%[): Fix range handling.
Diffstat (limited to 'csu/gmon-start.c')
-rw-r--r--csu/gmon-start.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/csu/gmon-start.c b/csu/gmon-start.c
index 2ebbbf1704..aaff084fbd 100644
--- a/csu/gmon-start.c
+++ b/csu/gmon-start.c
@@ -23,12 +23,7 @@ Cambridge, MA 02139, USA.  */
 #include <unistd.h>
 
 /* Beginning and end of our code segment.  */
-extern void _start (), etext ();
-
-/* These functions are defined in gmon/gmon.c;
-   they do all the work of setting up and cleaning up profiling.  */
-extern void monstartup (u_long, u_long);
-extern void _mcleanup (void);
+extern void _start (void), etext (void);
 
 #ifndef HAVE_INITFINI
 /* This function gets called at startup by the normal constructor