From: Marc Schink Date: Mon, 21 Sep 2015 12:28:18 +0000 (+0200) Subject: helper/ioutil: Rename MixedCaps function. X-Git-Tag: v0.10.0-rc1~398 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0dcfa4d26a365279edc51bdda4c8c99d077f6c02;p=openocd helper/ioutil: Rename MixedCaps function. Change-Id: I10075d4d5f45a7105d5a007631510236dbb9b08b Signed-off-by: Marc Schink Reviewed-on: http://openocd.zylin.com/2957 Tested-by: jenkins Reviewed-by: Spencer Oliver --- diff --git a/src/helper/ioutil.c b/src/helper/ioutil.c index 55319004..166256c7 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;