@@ -939,7 +939,7 @@ extern void rtl_profile_for_edge (edge);
extern void default_rtl_profile (void);
/* In profile.c. */
-struct gcov_working_set_t;
+typedef struct gcov_working_set_info gcov_working_set_t;
extern gcov_working_set_t *find_working_set (unsigned pct_times_10);
/* Check tha probability is sane. */
@@ -401,7 +401,7 @@ typedef unsigned HOST_WIDEST_INT gcov_type_unsigned;
/* Structured records. */
/* Structure used for each bucket of the log2 histogram of counter values. */
-struct gcov_bucket_type
+typedef struct
{
/* Number of counters whose profile count falls within the bucket. */
gcov_unsigned_t num_counters;
@@ -409,7 +409,7 @@ struct gcov_bucket_type
gcov_type min_value;
/* Cumulative value of the profile counts in this bucket. */
gcov_type cum_value;
-};
+} gcov_bucket_type;
/* For a log2 scale histogram with each range split into 4
linear sub-ranges, there will be at most 64 (max gcov_type bit