summaryrefslogtreecommitdiff
path: root/gmon
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-12-28 10:35:17 +0000
committerAndreas Jaeger <aj@suse.de>2000-12-28 10:35:17 +0000
commit8da8e2dbd2299e1a3ebc266a023ba6b37833bdc8 (patch)
treec8124bfd9a0c1232f47666b629ec013780adc192 /gmon
parent11e0f1cf9e7b2c38d5cdc0f1c682461b2ffdac0d (diff)
downloadglibc-8da8e2dbd2299e1a3ebc266a023ba6b37833bdc8.tar.gz
Update.
* sysdeps/generic/ldsodefs.h: Add noreturn attribute to _dl_reloc_bad_type.
Diffstat (limited to 'gmon')
-rw-r--r--gmon/bb_exit_func.c18
1 files changed, 3 insertions, 15 deletions
diff --git a/gmon/bb_exit_func.c b/gmon/bb_exit_func.c
index 4ba79885c1..f0be62d106 100644
--- a/gmon/bb_exit_func.c
+++ b/gmon/bb_exit_func.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1998, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by David Mosberger (davidm@cs.arizona.edu).
@@ -20,25 +20,13 @@
/* __bb_exit_func() dumps all the basic-block statistics linked into
the __bb_head chain to .d files. */
+#include <sys/gmon.h>
#include <sys/gmon_out.h>
#include <sys/types.h>
#include <stdio.h>
#include <string.h>
-/* structure emitted by -a */
-struct bb
- {
- long int zero_word;
- const char *filename;
- long int *counts;
- long int ncounts;
- struct bb *next;
- const unsigned long int *addresses;
- };
-
-extern struct bb *__bb_head; /* from gmon.c */
-
#define OUT_NAME "gmon.out"
@@ -47,7 +35,7 @@ __bb_exit_func (void)
{
const int version = GMON_VERSION;
struct gmon_hdr ghdr;
- struct bb *ptr;
+ struct __bb *ptr;
FILE *fp;
fp = fopen (OUT_NAME, "wb");
if (!fp)