From dfcaa6429a6cecc15ed49b5a92474c1f54f693c4 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 21 Apr 2000 03:38:54 +0000 Subject: (_start): Declared as "extern void". (etext): Likewise. --- csu/gmon-start.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'csu') diff --git a/csu/gmon-start.c b/csu/gmon-start.c index 8c66905a3b..25f5561128 100644 --- a/csu/gmon-start.c +++ b/csu/gmon-start.c @@ -22,8 +22,11 @@ #include #include -/* Beginning and end of our code segment. */ -extern void _start (void), etext (void); +/* Beginning and end of our code segment. We cannot declare them + as the external functions since we want the addresses of those + labels. Taking the address of a function may have different + meanings on different platforms. */ +extern void _start, etext; #ifndef HAVE_INITFINI /* This function gets called at startup by the normal constructor -- cgit v1.2.3