From 3813ca521a6cd7348ce111c3f46cbee66a1b964d Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Sat, 14 Jan 2023 07:30:21 +0100 Subject: treewide: Remove 'extern' from functions declaration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "extern" is automatically implied with function declaration. Change-Id: Ic40218acab5a009621b6882faacfcac800aaf0b9 Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/71890 Reviewed-by: Kyösti Mälkki Tested-by: build bot (Jenkins) Reviewed-by: Yu-Ping Wu --- src/drivers/i2c/ptn3460/ptn3460.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/drivers/i2c/ptn3460/ptn3460.h') diff --git a/src/drivers/i2c/ptn3460/ptn3460.h b/src/drivers/i2c/ptn3460/ptn3460.h index a3fa60bdc0..ac342abefc 100644 --- a/src/drivers/i2c/ptn3460/ptn3460.h +++ b/src/drivers/i2c/ptn3460/ptn3460.h @@ -51,9 +51,8 @@ struct ptn_3460_flash { } __packed; /* We need functions which we can call to get mainboard specific data */ -/* These functions can be implemented somewhere else but must exist. */ -extern enum cb_err mainboard_ptn3460_get_edid(uint8_t edid_data[PTN_EDID_LEN]); -extern uint8_t mainboard_ptn3460_select_edid_table(void); -extern enum cb_err mainboard_ptn3460_config(struct ptn_3460_config *cfg_ptr); +enum cb_err mainboard_ptn3460_get_edid(uint8_t edid_data[PTN_EDID_LEN]); +uint8_t mainboard_ptn3460_select_edid_table(void); +enum cb_err mainboard_ptn3460_config(struct ptn_3460_config *cfg_ptr); #endif /* _I2C_PTN3460_H_ */ -- cgit v1.2.3