diff --git a/src/pld/pld.c b/src/pld/pld.c index 81fb0c463..edd779613 100644 --- a/src/pld/pld.c +++ b/src/pld/pld.c @@ -28,7 +28,7 @@ static struct pld_driver *pld_drivers[] = { static struct pld_device *pld_devices; -struct pld_device *get_pld_device_by_num(int num) +static struct pld_device *get_pld_device_by_num(int num) { struct pld_device *p; int i = 0; diff --git a/src/pld/pld.h b/src/pld/pld.h index 5e2fcd20c..a6e2e0fc8 100644 --- a/src/pld/pld.h +++ b/src/pld/pld.h @@ -54,7 +54,6 @@ struct pld_device { int pld_register_commands(struct command_context *cmd_ctx); -struct pld_device *get_pld_device_by_num(int num); struct pld_device *get_pld_device_by_name(const char *name); struct pld_device *get_pld_device_by_name_or_numstr(const char *str);