aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-diagnostic.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-diagnostic.c')
-rw-r--r--gcc/tree-diagnostic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-diagnostic.c b/gcc/tree-diagnostic.c
index 79048c5..135f142 100644
--- a/gcc/tree-diagnostic.c
+++ b/gcc/tree-diagnostic.c
@@ -56,11 +56,11 @@ default_tree_diagnostic_starter (diagnostic_context *context,
/* This is a pair made of a location and the line map it originated
from. It's used in the maybe_unwind_expanded_macro_loc function
below. */
-typedef struct
+struct loc_map_pair
{
const line_map_macro *map;
source_location where;
-} loc_map_pair;
+};
/* Unwind the different macro expansions that lead to the token which