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>
This commit is contained in:
Kyösti Mälkki 2016-12-12 13:00:10 +02:00 committed by Nico Huber
parent 7ce1a75602
commit 2c34e743a1
5 changed files with 20 additions and 20 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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