From: Felipe Balbi Date: Mon, 20 Feb 2017 15:35:55 +0000 (+0200) Subject: target: quark_x10xx: adding missing 'static' keyword X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ea80232c5e67fe07dff00d54d4f4ac7adf9e3e78;p=openocd 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 Reviewed-on: http://openocd.zylin.com/4012 Tested-by: jenkins Reviewed-by: Paul Fertser --- diff --git a/src/target/quark_x10xx.c b/src/target/quark_x10xx.c index 189f6cc6..b9a7c165 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); }