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 <felipe.balbi@linux.intel.com>
Reviewed-on: http://openocd.zylin.com/4012
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
This commit is contained in:
Felipe Balbi 2017-02-20 17:35:55 +02:00 committed by Paul Fertser
parent 43cf6f9b62
commit ea80232c5e

View File

@ -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);
}