From 14144f39e4581f4f39bcd44c2f8336fee28b0220 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 18 Jan 2008 23:26:48 +0000 Subject: Don't include options.h in fileread.h. Remove General_options reference from Output_file class. --- gold/fileread.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'gold/fileread.h') diff --git a/gold/fileread.h b/gold/fileread.h index 428c2f0..d430876 100644 --- a/gold/fileread.h +++ b/gold/fileread.h @@ -29,12 +29,13 @@ #include #include -#include "options.h" #include "token.h" namespace gold { +class Position_dependent_options; +class Input_file_argument; class Dirsearch; class File_view; @@ -383,8 +384,7 @@ class Input_file // Return the name given by the user. For -lc this will return "c". const char* - name() const - { return this->input_argument_->name(); } + name() const; // Return the file name. For -lc this will return something like // "/usr/lib/libc.so". @@ -401,8 +401,7 @@ class Input_file // Return the position dependent options. const Position_dependent_options& - options() const - { return this->input_argument_->options(); } + options() const; // Return the file. File_read& -- cgit v1.1