summaryrefslogtreecommitdiff
path: root/gcc/profile.h
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-12 17:03:35 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-12 17:03:35 +0000
commitf21e12549ddb05d16bb9818a5c77bad2ff0433b8 (patch)
treefaf172f00e3f58c6afc1cab99d70fce44d9bcd74 /gcc/profile.h
parentf769bee36900aa21324d96106b38cad4bb01268c (diff)
downloadgcc-f21e12549ddb05d16bb9818a5c77bad2ff0433b8.tar.gz
* profile.h (profile_info): Add missing extern to declaration.
* profile.c (profile_info): Define it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53400 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/profile.h')
-rw-r--r--gcc/profile.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/profile.h b/gcc/profile.h
index a6bc7ee984f..609b0d37e66 100644
--- a/gcc/profile.h
+++ b/gcc/profile.h
@@ -21,7 +21,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#ifndef GCC_PROFILE_H
#define GCC_PROFILE_H
-struct
+struct profile_info
{
/* Used by final, for allocating the proper amount of storage for the
instrumented arc execution counts. */
@@ -47,6 +47,8 @@ struct
function. */
int count_profiles_merged;
- } profile_info;
+ };
+
+extern struct profile_info profile_info;
#endif