mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-04 15:25:17 +02:00
tree: Make internal variables static
All these variables are only used in the files they are defined in, so they can be made static. (Backported as it untangles aliased global objects.) Change-Id: I1e55138adef540e9d3a2237aa5b289cb338c0608 Signed-off-by: Jacob Garber <jgarber1@ualberta.ca> Reviewed-on: https://review.coreboot.org/c/flashrom/+/33747 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/flashrom/+/62612 Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
@ -60,7 +60,7 @@ const struct dev_entry devs_developerbox_spi[] = {
|
||||
{0},
|
||||
};
|
||||
|
||||
struct libusb_context *usb_ctx;
|
||||
static struct libusb_context *usb_ctx;
|
||||
static libusb_device_handle *cp210x_handle;
|
||||
|
||||
static int cp210x_gpio_get(void)
|
||||
|
Reference in New Issue
Block a user