diff options
author | Marc Schink <openocd-dev@marcschink.de> | 2015-09-21 14:28:18 +0200 |
---|---|---|
committer | Freddie Chopin <freddie.chopin@gmail.com> | 2015-11-03 22:15:51 +0000 |
commit | 0dcfa4d26a365279edc51bdda4c8c99d077f6c02 (patch) | |
tree | 00acfc38f66dae99458866b8784840887bdef250 /src | |
parent | 627f1cb3542408533158dc5682b468ef48614eb8 (diff) | |
download | riscv-openocd-0dcfa4d26a365279edc51bdda4c8c99d077f6c02.zip riscv-openocd-0dcfa4d26a365279edc51bdda4c8c99d077f6c02.tar.gz riscv-openocd-0dcfa4d26a365279edc51bdda4c8c99d077f6c02.tar.bz2 |
helper/ioutil: Rename MixedCaps function.
Change-Id: I10075d4d5f45a7105d5a007631510236dbb9b08b
Signed-off-by: Marc Schink <openocd-dev@marcschink.de>
Reviewed-on: http://openocd.zylin.com/2957
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'src')
-rw-r--r-- | src/helper/ioutil.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/helper/ioutil.c b/src/helper/ioutil.c index 5531900..166256c 100644 --- a/src/helper/ioutil.c +++ b/src/helper/ioutil.c @@ -53,7 +53,7 @@ /* loads a file and returns a pointer to it in memory. The file contains * a 0 byte(sentinel) after len bytes - the length of the file. */ -static int loadFile(const char *fileName, char **data, size_t *len) +static int load_file(const char *fileName, char **data, size_t *len) { /* ensure returned length is always sane */ *len = 0; @@ -113,7 +113,7 @@ COMMAND_HANDLER(handle_cat_command) char *data; size_t len; - int retval = loadFile(CMD_ARGV[0], &data, &len); + int retval = load_file(CMD_ARGV[0], &data, &len); if (retval == ERROR_OK) { command_print(CMD_CTX, "%s", data); free(data); @@ -198,7 +198,7 @@ COMMAND_HANDLER(handle_cp_command) char *data; size_t len; - int retval = loadFile(CMD_ARGV[0], &data, &len); + int retval = load_file(CMD_ARGV[0], &data, &len); if (retval != ERROR_OK) return retval; |