Adjust the code so that global variable placed at beginning of file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8172 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -34,6 +34,13 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
#include <Library/BaseLib.h>
|
||||
#include <Library/BaseMemoryLib.h>
|
||||
|
||||
//
|
||||
// Global Variables
|
||||
//
|
||||
extern EFI_DRIVER_BINDING_PROTOCOL gKeyboardControllerDriver;
|
||||
extern EFI_COMPONENT_NAME_PROTOCOL gPs2KeyboardComponentName;
|
||||
extern EFI_COMPONENT_NAME2_PROTOCOL gPs2KeyboardComponentName2;
|
||||
|
||||
//
|
||||
// Driver Private Data
|
||||
//
|
||||
@@ -119,14 +126,6 @@ typedef struct {
|
||||
|
||||
#define TABLE_END 0x0
|
||||
|
||||
//
|
||||
// Global Variables
|
||||
//
|
||||
extern EFI_DRIVER_BINDING_PROTOCOL gKeyboardControllerDriver;
|
||||
extern EFI_COMPONENT_NAME_PROTOCOL gPs2KeyboardComponentName;
|
||||
extern EFI_COMPONENT_NAME2_PROTOCOL gPs2KeyboardComponentName2;
|
||||
|
||||
|
||||
//
|
||||
// Driver entry point
|
||||
//
|
||||
|
Reference in New Issue
Block a user