From b5839a38f682e4830a71be6671fee51eb1501c70 Mon Sep 17 00:00:00 2001 From: Bob Dubner <rdubner@symas.com> Date: Tue, 24 Dec 2024 10:29:37 -0500 Subject: [PATCH] Trim structs.cc .h files --- gcc/cobol/ChangeLog | 1 + gcc/cobol/structs.cc | 25 +------------------------ 2 files changed, 2 insertions(+), 24 deletions(-) diff --git a/gcc/cobol/ChangeLog b/gcc/cobol/ChangeLog index 7a950fe24df8..51874c6e2877 100644 --- a/gcc/cobol/ChangeLog +++ b/gcc/cobol/ChangeLog @@ -17,5 +17,6 @@ trimmed .h files in gengen.cc trimmed .h files in genmath.cc trimmed .h files in genutil.cc + trimmed .h files in structs.cc * Eliminate vestigial unused code from the PERFORM-PROC-AS_CALL experiment diff --git a/gcc/cobol/structs.cc b/gcc/cobol/structs.cc index e00900fab405..b90a2f9f1098 100644 --- a/gcc/cobol/structs.cc +++ b/gcc/cobol/structs.cc @@ -52,34 +52,11 @@ */ -#include <assert.h> -#include <assert.h> -#include <assert.h> -#include <assert.h> -#include <err.h> -#include <stdbool.h> -#include <stdio.h> -#include <stdlib.h> -#include <ctype.h> -#include <vector> -#include <string> -#include <unordered_map> - -#include "config.h" -#include "system.h" +#include "cobol-system.h" #include "coretypes.h" -#include "target.h" #include "tree.h" -#include "tree-iterator.h" -#include "stringpool.h" -#include "cgraph.h" -#include "gimplify.h" - #define HOWEVER_GCC_DEFINES_TREE 1 -#include "genapi.h" #include "gengen.h" -#include "symbols.h" -#include "structs.h" tree var_decl_node_p_of( cbl_field_t *var ) -- GitLab