diff options
author | gikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-04-24 07:30:54 +0000 |
---|---|---|
committer | gikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-04-24 07:30:54 +0000 |
commit | 9f6531d14d145918079d03926ff827f6c1a274a4 (patch) | |
tree | ecbc4f73f2e538769cf0b4ea1137555bd7af00b4 /IntelFrameworkModulePkg/Universal/DataHubDxe/DataHub.c | |
parent | 14d59fa188194a6199a04677352d9d47b26ad632 (diff) | |
download | edk2-platforms-9f6531d14d145918079d03926ff827f6c1a274a4.tar.xz |
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
Diffstat (limited to 'IntelFrameworkModulePkg/Universal/DataHubDxe/DataHub.c')
-rw-r--r-- | IntelFrameworkModulePkg/Universal/DataHubDxe/DataHub.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/IntelFrameworkModulePkg/Universal/DataHubDxe/DataHub.c b/IntelFrameworkModulePkg/Universal/DataHubDxe/DataHub.c index af68644e9c..b58de9db6f 100644 --- a/IntelFrameworkModulePkg/Universal/DataHubDxe/DataHub.c +++ b/IntelFrameworkModulePkg/Universal/DataHubDxe/DataHub.c @@ -27,6 +27,13 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. CONST EFI_GUID gZeroGuid = { 0, 0, 0, { 0, 0, 0, 0, 0, 0, 0, 0 } };
//
+// Module Global:
+// Since this driver will only ever produce one instance of the Logging Hub
+// protocol you are not required to dynamically allocate the PrivateData.
+//
+DATA_HUB_INSTANCE mPrivateData;
+
+//
// Worker functions private to this file
//
DATA_HUB_FILTER_DRIVER *
@@ -531,12 +538,6 @@ GetNextDataRecord ( return Record;
}
-//
-// Module Global:
-// Since this driver will only ever produce one instance of the Logging Hub
-// protocol you are not required to dynamically allocate the PrivateData.
-//
-DATA_HUB_INSTANCE mPrivateData;
/**
|