This is an automated email from Gerrit.

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

-- gerrit

commit 29daafaf85afc3249e80da7486ddcb4582e624f6
Author: Felipe Balbi <[email protected]>
Date:   Mon Feb 20 17:35:55 2017 +0200

    target: quark_x10xx: adding missing 'static' keyword
    
    These symbols are only used within this C source file. They don't need
    to be exposed to the outside.
    
    Change-Id: Idb04550ecca7f12c3fdc8c6447eeeb871961add3
    Signed-off-by: Felipe Balbi <[email protected]>

diff --git a/src/target/quark_x10xx.c b/src/target/quark_x10xx.c
index 189f6cc..b9a7c16 100644
--- a/src/target/quark_x10xx.c
+++ b/src/target/quark_x10xx.c
@@ -51,7 +51,7 @@
 #include "lakemont.h"
 #include "x86_32_common.h"
 
-int quark_x10xx_target_create(struct target *t, Jim_Interp *interp)
+static int quark_x10xx_target_create(struct target *t, Jim_Interp *interp)
 {
        struct x86_32_common *x86_32 = calloc(1, sizeof(struct x86_32_common));
        if (x86_32 == NULL) {
@@ -64,7 +64,8 @@ int quark_x10xx_target_create(struct target *t, Jim_Interp 
*interp)
        return ERROR_OK;
 }
 
-int quark_x10xx_init_target(struct command_context *cmd_ctx, struct target *t)
+static int quark_x10xx_init_target(struct command_context *cmd_ctx,
+               struct target *t)
 {
        return lakemont_init_target(cmd_ctx, t);
 }

-- 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to