summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2016-12-12 13:00:10 +0200
committerNico Huber <nico.h@gmx.de>2016-12-13 19:16:56 +0100
commit2c34e743a1e83d02b29f61b2bffb0636fe87bb5b (patch)
treea1dbe902f0e34c371872144eaa48d743bf136130 /src/mainboard/lenovo
parent7ce1a75602c30c0680992265e52c08c292af2d7f (diff)
downloadcoreboot-2c34e743a1e83d02b29f61b2bffb0636fe87bb5b.tar.xz
lenovo: Don't use extern with functions
Change-Id: I8313ba1d93922297e5061701dad47d07617d1dcd Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/17804 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/lenovo')
-rw-r--r--src/mainboard/lenovo/t400/dock.h6
-rw-r--r--src/mainboard/lenovo/t60/dock.h12
-rw-r--r--src/mainboard/lenovo/x200/dock.h6
-rw-r--r--src/mainboard/lenovo/x201/dock.h6
-rw-r--r--src/mainboard/lenovo/x60/dock.h10
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