From 2c34e743a1e83d02b29f61b2bffb0636fe87bb5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Mon, 12 Dec 2016 13:00:10 +0200 Subject: lenovo: Don't use extern with functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I8313ba1d93922297e5061701dad47d07617d1dcd Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/17804 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Aaron Durbin --- src/mainboard/lenovo/t400/dock.h | 6 +++--- src/mainboard/lenovo/t60/dock.h | 12 ++++++------ src/mainboard/lenovo/x200/dock.h | 6 +++--- src/mainboard/lenovo/x201/dock.h | 6 +++--- src/mainboard/lenovo/x60/dock.h | 10 +++++----- 5 files changed, 20 insertions(+), 20 deletions(-) diff --git a/src/mainboard/lenovo/t400/dock.h b/src/mainboard/lenovo/t400/dock.h index ac6d81a499..74b730ca23 100644 --- a/src/mainboard/lenovo/t400/dock.h +++ b/src/mainboard/lenovo/t400/dock.h @@ -16,7 +16,7 @@ #ifndef THINKPAD_T400_DOCK_H #define THINKPAD_T400_DOCK_H -extern void dock_connect(void); -extern void dock_disconnect(void); -extern int dock_present(void); +void dock_connect(void); +void dock_disconnect(void); +int dock_present(void); #endif diff --git a/src/mainboard/lenovo/t60/dock.h b/src/mainboard/lenovo/t60/dock.h index ce8c98e0a8..6a9efc2ef9 100644 --- a/src/mainboard/lenovo/t60/dock.h +++ b/src/mainboard/lenovo/t60/dock.h @@ -16,11 +16,11 @@ #ifndef THINKPAD_X60_DOCK_H #define THINKPAD_X60_DOCK_H -extern int dock_connect(void); -extern void dock_disconnect(void); -extern int dock_present(void); -extern int dlpc_init(void); +int dock_connect(void); +void dock_disconnect(void); +int dock_present(void); +int dlpc_init(void); -extern int legacy_io_present(void); -extern void legacy_io_init(void); +int legacy_io_present(void); +void legacy_io_init(void); #endif diff --git a/src/mainboard/lenovo/x200/dock.h b/src/mainboard/lenovo/x200/dock.h index fef0bf34ce..56f3fe0f7a 100644 --- a/src/mainboard/lenovo/x200/dock.h +++ b/src/mainboard/lenovo/x200/dock.h @@ -16,7 +16,7 @@ #ifndef THINKPAD_X200_DOCK_H #define THINKPAD_X200_DOCK_H -extern void dock_connect(void); -extern void dock_disconnect(void); -extern int dock_present(void); +void dock_connect(void); +void dock_disconnect(void); +int dock_present(void); #endif diff --git a/src/mainboard/lenovo/x201/dock.h b/src/mainboard/lenovo/x201/dock.h index 1af1b3dac3..4cd8c857a8 100644 --- a/src/mainboard/lenovo/x201/dock.h +++ b/src/mainboard/lenovo/x201/dock.h @@ -16,7 +16,7 @@ #ifndef THINKPAD_X201_DOCK_H #define THINKPAD_X201_DOCK_H -extern void dock_connect(void); -extern void dock_disconnect(void); -extern int dock_present(void); +void dock_connect(void); +void dock_disconnect(void); +int dock_present(void); #endif diff --git a/src/mainboard/lenovo/x60/dock.h b/src/mainboard/lenovo/x60/dock.h index ef8a97744b..a8911ddf04 100644 --- a/src/mainboard/lenovo/x60/dock.h +++ b/src/mainboard/lenovo/x60/dock.h @@ -16,9 +16,9 @@ #ifndef THINKPAD_X60_DOCK_H #define THINKPAD_X60_DOCK_H -extern int dock_connect(void); -extern void dock_disconnect(void); -extern int dock_present(void); -extern int dlpc_init(void); -extern int dock_ultrabay_device_present(void); +int dock_connect(void); +void dock_disconnect(void); +int dock_present(void); +int dlpc_init(void); +int dock_ultrabay_device_present(void); #endif -- cgit v1.2.3