diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-06-15 23:01:42 +0200 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-06-15 23:01:42 +0200 |
commit | 395d3bff8ce59d6c5a34e0a626010343ca9909ba (patch) | |
tree | e4b1d50b1872e50c36035ab1bfbc8f62f0948c63 /src/helper | |
parent | 00017c90ae82d3237f5a4784caa695459c5897d2 (diff) | |
download | openocd_libswd-395d3bff8ce59d6c5a34e0a626010343ca9909ba.tar.gz openocd_libswd-395d3bff8ce59d6c5a34e0a626010343ca9909ba.tar.bz2 openocd_libswd-395d3bff8ce59d6c5a34e0a626010343ca9909ba.tar.xz openocd_libswd-395d3bff8ce59d6c5a34e0a626010343ca9909ba.zip |
fileio: -Wshadow warning fix
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/helper')
-rw-r--r-- | src/helper/fileio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helper/fileio.c b/src/helper/fileio.c index 71e807ff..ba62397c 100644 --- a/src/helper/fileio.c +++ b/src/helper/fileio.c @@ -98,12 +98,12 @@ static inline int fileio_open_local(struct fileio *fileio) return ERROR_OK; } -int fileio_open(struct fileio *fileio, const char *url, enum fileio_access access, enum fileio_type type) +int fileio_open(struct fileio *fileio, const char *url, enum fileio_access access_type, enum fileio_type type) { int retval = ERROR_OK; fileio->type = type; - fileio->access = access; + fileio->access = access_type; fileio->url = strdup(url); retval = fileio_open_local(fileio); |