X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fpld%2Fpld.h;h=3db4bad0a64bf084a5bee4aa4c6df1ec428bc732;hp=c6d3c9248feefdc74e2a26a686ef9eb7eaca0c45;hb=ca594adb5a71f2bf60c1380172b8e61b075d9479;hpb=9741e126fd854815460296ad47d027129c7f17bf;ds=sidebyside diff --git a/src/pld/pld.h b/src/pld/pld.h index c6d3c9248f..3db4bad0a6 100644 --- a/src/pld/pld.h +++ b/src/pld/pld.h @@ -29,7 +29,7 @@ typedef struct pld_driver_s char *name; int (*register_commands)(struct command_context_s *cmd_ctx); int (*pld_device_command)(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc, struct pld_device_s *pld_device); - int (*load)(struct pld_device_s *pld_device, char *filename); + int (*load)(struct pld_device_s *pld_device, const char *filename); } pld_driver_t; typedef struct pld_device_s