This is an automated email from Gerrit.

Marc Schink ([email protected]) just uploaded a new patch set to 
Gerrit, which you can find at http://openocd.zylin.com/2957

-- gerrit

commit 0c2589eb9a52110acd1106090e3e03b39b795ef1
Author: Marc Schink <[email protected]>
Date:   Mon Sep 21 14:28:18 2015 +0200

    helper/ioutil: Rename MixedCaps function.
    
    Change-Id: I10075d4d5f45a7105d5a007631510236dbb9b08b
    Signed-off-by: Marc Schink <[email protected]>

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;
 

-- 

------------------------------------------------------------------------------
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to