PLD: review scope of functions
[fw/openocd] / src / pld / pld.c
index 5ed7596c77335f5912b769495d781515465a3412..90067e34a6fc397f9a436a2e5370c5b6350b3ec2 100644 (file)
@@ -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;