From ea80232c5e67fe07dff00d54d4f4ac7adf9e3e78 Mon Sep 17 00:00:00 2001 From: Felipe Balbi Date: Mon, 20 Feb 2017 17:35:55 +0200 Subject: [PATCH] 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 --- src/target/quark_x10xx.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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); } -- 2.39.5