]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gprof/hist.h
Copyright update for binutils
[thirdparty/binutils-gdb.git] / gprof / hist.h
index 3facb5ad2269dfc9a4a411a1cdf024c6cca58c4f..2458164c4bf376a7680ca46d9d50a009f01d336f 100644 (file)
@@ -1,6 +1,6 @@
 /* hist.h
 
-   Copyright 2000, 2001, 2002, 2004, 2005, 2007 Free Software Foundation, Inc.
+   Copyright (C) 2000-2016 Free Software Foundation, Inc.
 
    This file is part of GNU Binutils.
 
@@ -30,8 +30,8 @@ typedef struct histogram
   int *sample;           /* Histogram samples (shorts in the file!).  */
 } histogram;
 
-histogram *histograms;
-unsigned num_histograms;
+extern histogram * histograms;
+extern unsigned    num_histograms;
 
 /* Scale factor converting samples to pc values:
    each sample covers HIST_SCALE bytes.  */
@@ -46,10 +46,10 @@ extern void hist_print           (void);
    we have histogram data.  Returns 1 if so and 0 otherwise.  */
 extern int hist_check_address (unsigned address);
 
-/* Given a range of addresses for a symbol, find a histogram record 
+/* Given a range of addresses for a symbol, find a histogram record
    that intersects with this range, and clips the range to that
    histogram record, modifying *P_LOWPC and *P_HIGHPC.
-   
+
    If no intersection is found, *P_LOWPC and *P_HIGHPC will be set to
    one unspecified value.  If more that one intersection is found,
    an error is emitted.  */