aboutsummaryrefslogtreecommitdiff
path: root/bfd/opncls.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2009-12-15 16:59:20 +0000
committerH.J. Lu <hjl.tools@gmail.com>2009-12-15 16:59:20 +0000
commit662e4701860d1e5c3105ebed3440ca4970d3179f (patch)
tree3016cefac661e838c0d9fb344705a827f9b52a7d /bfd/opncls.c
parente3c58833bf3e173b040ae267d6ee060cee9c4ba5 (diff)
downloadgdb-662e4701860d1e5c3105ebed3440ca4970d3179f.zip
gdb-662e4701860d1e5c3105ebed3440ca4970d3179f.tar.gz
gdb-662e4701860d1e5c3105ebed3440ca4970d3179f.tar.bz2
2009-12-15 H.J. Lu <hongjiu.lu@intel.com>
* opncls.c (bfd_opnr_iovec): Replace _XXX with XXX_P in parameters. * tekhex.c (pass_over): Replace eof with is_eof.
Diffstat (limited to 'bfd/opncls.c')
-rw-r--r--bfd/opncls.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/bfd/opncls.c b/bfd/opncls.c
index 520cab6..8b3d2e1 100644
--- a/bfd/opncls.c
+++ b/bfd/opncls.c
@@ -523,12 +523,12 @@ static const struct bfd_iovec opncls_iovec = {
bfd *
bfd_openr_iovec (const char *filename, const char *target,
- void *(*_open) (struct bfd *, void *),
+ void *(*open_p) (struct bfd *, void *),
void *open_closure,
- file_ptr (*_pread) (struct bfd *, void *, void *, file_ptr,
- file_ptr),
- int (*_close) (struct bfd *, void *),
- int (*_stat) (struct bfd *, void *, struct stat *))
+ file_ptr (*pread_p) (struct bfd *, void *, void *,
+ file_ptr, file_ptr),
+ int (*close_p) (struct bfd *, void *),
+ int (*stat_p) (struct bfd *, void *, struct stat *))
{
bfd *nbfd;
const bfd_target *target_vec;
@@ -549,8 +549,8 @@ bfd_openr_iovec (const char *filename, const char *target,
nbfd->filename = filename;
nbfd->direction = read_direction;
- /* `open (...)' would get expanded by an the open(2) syscall macro. */
- stream = (*_open) (nbfd, open_closure);
+ /* `open_p (...)' would get expanded by an the open(2) syscall macro. */
+ stream = (*open_p) (nbfd, open_closure);
if (stream == NULL)
{
_bfd_delete_bfd (nbfd);
@@ -559,9 +559,9 @@ bfd_openr_iovec (const char *filename, const char *target,
vec = (struct opncls *) bfd_zalloc (nbfd, sizeof (struct opncls));
vec->stream = stream;
- vec->pread = _pread;
- vec->close = _close;
- vec->stat = _stat;
+ vec->pread = pread_p;
+ vec->close = close_p;
+ vec->stat = stat_p;
nbfd->iovec = &opncls_iovec;
nbfd->iostream = vec;