aboutsummaryrefslogtreecommitdiff
path: root/gold/fileread.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-09-25 05:16:35 +0000
committerIan Lance Taylor <iant@google.com>2007-09-25 05:16:35 +0000
commitbae3688d8f8566ea43c712982cea95897ed359da (patch)
treeac5c9f93174c3fc5653fa990524be599924c637c /gold/fileread.h
parentba45d2478b259454e5b4c2d7dcaa7a35ecbf329c (diff)
downloadgdb-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.h9
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