Patch to remove STATIC modifier. This is on longer recommended by EFI Framework coding style. All duplicated symbols has been renamed accordingly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6298 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -17,18 +17,13 @@
|
||||
//
|
||||
// Initialize FIFO to cache records.
|
||||
//
|
||||
STATIC
|
||||
LIST_ENTRY mRecordsFifo = INITIALIZE_LIST_HEAD_VARIABLE (mRecordsFifo);
|
||||
STATIC
|
||||
LIST_ENTRY mRecordsBuffer = INITIALIZE_LIST_HEAD_VARIABLE (mRecordsBuffer);
|
||||
STATIC
|
||||
UINT32 mLogDataHubStatus = 0;
|
||||
STATIC
|
||||
EFI_EVENT mLogDataHubEvent;
|
||||
//
|
||||
// Cache data hub protocol.
|
||||
//
|
||||
STATIC
|
||||
EFI_DATA_HUB_PROTOCOL *mDataHubProtocol;
|
||||
|
||||
|
||||
@@ -41,7 +36,6 @@ EFI_DATA_HUB_PROTOCOL *mDataHubProtocol;
|
||||
@retval !NULL Point to buffer of record.
|
||||
|
||||
**/
|
||||
STATIC
|
||||
DATA_HUB_STATUS_CODE_DATA_RECORD *
|
||||
AcquireRecordBuffer (
|
||||
VOID
|
||||
@@ -97,7 +91,6 @@ AcquireRecordBuffer (
|
||||
@return NULL the FIFO of record is empty.
|
||||
|
||||
**/
|
||||
STATIC
|
||||
DATA_HUB_STATUS_CODE_DATA_RECORD *
|
||||
RetrieveRecord (
|
||||
VOID
|
||||
@@ -131,7 +124,6 @@ RetrieveRecord (
|
||||
from AcquireRecordBuffer.
|
||||
|
||||
**/
|
||||
STATIC
|
||||
VOID
|
||||
ReleaseRecord (
|
||||
DATA_HUB_STATUS_CODE_DATA_RECORD *RecordData
|
||||
@@ -274,7 +266,6 @@ DataHubStatusCodeReportWorker (
|
||||
@param Context Context of the event.
|
||||
|
||||
**/
|
||||
STATIC
|
||||
VOID
|
||||
EFIAPI
|
||||
LogDataHubEventCallBack (
|
||||
|
@@ -17,7 +17,7 @@
|
||||
//
|
||||
// Event for Exit Boot Services Callback
|
||||
//
|
||||
STATIC EFI_EVENT mExitBootServicesEvent = NULL;
|
||||
EFI_EVENT mExitBootServicesEvent = NULL;
|
||||
|
||||
/**
|
||||
Report status code to all supported device.
|
||||
@@ -59,7 +59,6 @@ ReportDispatcher (
|
||||
//
|
||||
// Declaration of status code protocol.
|
||||
//
|
||||
STATIC
|
||||
EFI_STATUS_CODE_PROTOCOL mEfiStatusCodeProtocol = {
|
||||
ReportDispatcher
|
||||
};
|
||||
|
@@ -15,7 +15,6 @@
|
||||
#include "DxeStatusCode.h"
|
||||
#include "DebugInfo.h"
|
||||
|
||||
STATIC
|
||||
EFI_SERIAL_IO_PROTOCOL *mSerialIoProtocol;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user