diff options
author | Ian Lance Taylor <iant@google.com> | 2007-09-25 05:16:35 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-09-25 05:16:35 +0000 |
commit | bae3688d8f8566ea43c712982cea95897ed359da (patch) | |
tree | ac5c9f93174c3fc5653fa990524be599924c637c /gold/fileread.h | |
parent | ba45d2478b259454e5b4c2d7dcaa7a35ecbf329c (diff) | |
download | gdb-bae3688d8f8566ea43c712982cea95897ed359da.zip gdb-bae3688d8f8566ea43c712982cea95897ed359da.tar.gz gdb-bae3688d8f8566ea43c712982cea95897ed359da.tar.bz2 |
Remove get_view_and_size.
Diffstat (limited to 'gold/fileread.h')
-rw-r--r-- | gold/fileread.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/gold/fileread.h b/gold/fileread.h index a77721d..781031a 100644 --- a/gold/fileread.h +++ b/gold/fileread.h @@ -87,13 +87,6 @@ class File_read const unsigned char* get_view(off_t start, off_t size); - // Return a view into the file starting at file offset START, for up - // to SIZE bytes. Set *PBYTES to the number of bytes read. This - // may be less than SIZE. The pointer will remain valid until the - // File_read is unlocked. - const unsigned char* - get_view_and_size(off_t start, off_t size, off_t* pbytes); - // Read data from the file into the buffer P starting at file offset // START for SIZE bytes. void @@ -170,7 +163,7 @@ class File_read // Find or make a view into the file. View* - find_or_make_view(off_t start, off_t size, off_t* pbytes); + find_or_make_view(off_t start, off_t size); // Clear the file views. void |