summaryrefslogtreecommitdiff
path: root/src/pld
diff options
context:
space:
mode:
Diffstat (limited to 'src/pld')
-rw-r--r--src/pld/pld.c3
-rw-r--r--src/pld/pld.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/pld/pld.c b/src/pld/pld.c
index 5ed7596c..90067e34 100644
--- a/src/pld/pld.c
+++ b/src/pld/pld.c
@@ -206,7 +206,8 @@ static const struct command_registration pld_exec_command_handlers[] = {
},
COMMAND_REGISTRATION_DONE
};
-int pld_init(struct command_context *cmd_ctx)
+
+static int pld_init(struct command_context *cmd_ctx)
{
if (!pld_devices)
return ERROR_OK;
diff --git a/src/pld/pld.h b/src/pld/pld.h
index cd92ff0a..d306246b 100644
--- a/src/pld/pld.h
+++ b/src/pld/pld.h
@@ -46,8 +46,6 @@ struct pld_device
int pld_register_commands(struct command_context *cmd_ctx);
-int pld_init(struct command_context *cmd_ctx);
-
struct pld_device *get_pld_device_by_num(int num);
#define ERROR_PLD_DEVICE_INVALID (-1000)