From 89cdebba1358d2b68fe98449be80bbc3338ebda5 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Mon, 9 Oct 2000 15:09:17 +0000 Subject: 2000-10-09 Kazu Hirata * ldcref.c: Fix formatting. * ldctor.h: Likewise. * ldemul.c: Likewise. * ldemul.h: Likewise. * ldexp.c: Likewise. * ldexp.h: Likewise. * ldfile.c: Likewise. * ldfile.h: Likewise. * ld.h: Likewise. * ldlang.c: Likewise. * ldlang.h: Likewise. * ldmain.c: Likewise. --- ld/ld.h | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) (limited to 'ld/ld.h') diff --git a/ld/ld.h b/ld/ld.h index 26069b8..6b7db93 100644 --- a/ld/ld.h +++ b/ld/ld.h @@ -58,25 +58,23 @@ #define DISCARD_SECTION_NAME "/DISCARD/" /* A file name list */ -typedef struct name_list -{ - const char *name; - struct name_list *next; -} name_list; +typedef struct name_list { + const char *name; + struct name_list *next; +} +name_list; /* A wildcard specification. This is only used in ldgram.y, but it winds up in ldgram.h, so we need to define it outside. */ -struct wildcard_spec -{ +struct wildcard_spec { const char *name; struct name_list *exclude_name_list; boolean sorted; }; /* Extra information we hold on sections */ -typedef struct user_section_struct -{ +typedef struct user_section_struct { /* Pointer to the section where this data will go */ struct lang_input_statement_struct *file; } section_userdata_type; @@ -96,8 +94,7 @@ typedef struct user_section_struct #define ALIGN_N(this, boundary) \ ((( (this) + ((boundary) -1)) & (~((boundary)-1)))) -typedef struct -{ +typedef struct { /* 1 => assign space to common symbols even if `relocatable_output'. */ boolean force_common_definition; boolean relax; @@ -161,8 +158,7 @@ extern args_type command_line; typedef int token_code_type; -typedef struct -{ +typedef struct { bfd_size_type specified_data_size; boolean magic_demand_paged; boolean make_executable; @@ -215,8 +211,7 @@ typedef struct extern ld_config_type config; -typedef enum -{ +typedef enum { lang_first_phase_enum, lang_allocating_phase_enum, lang_final_phase_enum -- cgit v1.1