]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Update to fix coding style bugs
authorAJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 26 Jun 2007 14:15:24 +0000 (14:15 +0000)
committerAJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 26 Jun 2007 14:15:24 +0000 (14:15 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2758 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Universal/Disk/DiskIo/Dxe/DiskIo.h
MdeModulePkg/Universal/Disk/Partition/Dxe/Partition.h
MdeModulePkg/Universal/Security/SecurityStub/Dxe/SecurityStub.h

index 388b166e6e8db3cb8e9cbcab2e207446d004f554..c1a572f846bafcd5c5ae0e6bbf68d6a5e948eb78 100644 (file)
@@ -13,8 +13,8 @@
 \r
 **/\r
 \r
-#ifndef _DISK_IO_H_\r
-#define _DISK_IO_H_\r
+#ifndef _DISK_IO_H\r
+#define _DISK_IO_H\r
 \r
 #include <Uefi.h>\r
 #include <Protocol/BlockIo.h>\r
index 469c94815789bc253e30eb96065c3f659b02a697..570d0194b5114d9b8bb722cd40ceaade34d62435 100644 (file)
@@ -15,6 +15,8 @@
 \r
 **/\r
 \r
+#ifndef _PARTITION_H \r
+#define _PARTITION_H \r
 \r
 #include <Uefi.h>\r
 #include <Protocol/BlockIo.h>\r
 #include <Library/UefiBootServicesTableLib.h>\r
 #include <Library/DevicePathLib.h>\r
 \r
-//\r
-// Driver Binding Externs\r
-//\r
-extern EFI_DRIVER_BINDING_PROTOCOL gPartitionDriverBinding;\r
-extern EFI_COMPONENT_NAME_PROTOCOL gPartitionComponentName;\r
-\r
 #include <IndustryStandard/Mbr.h>\r
 #include <IndustryStandard/ElTorito.h>\r
 \r
@@ -192,3 +188,4 @@ EFI_STATUS
   IN  EFI_DEVICE_PATH_PROTOCOL     *DevicePath\r
   );\r
 \r
+#endif\r
index e94015d4e3cb4f86559f27b4f7965e3d88531c76..dedc14afdbe1e22ff4d3c47f982288cbcfeb4086 100644 (file)
@@ -1,23 +1,16 @@
-/*++\r
-\r
-Copyright (c) 2006, Intel Corporation                                                         \r
-All rights reserved. This program and the accompanying materials                          \r
-are licensed and made available under the terms and conditions of the BSD License         \r
-which accompanies this distribution.  The full text of the license may be found at        \r
-http://opensource.org/licenses/bsd-license.php                                            \r
-                                                                                          \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
-\r
-Module Name:\r
-\r
-  SecurityStub.h\r
+/** @file\r
+  Some definitions for Security Architectural Protocol stub driver\r
 \r
-Abstract:\r
+  Copyright (c) 2006 - 2007, Intel Corporation                                              \r
+  All rights reserved. This program and the accompanying materials                          \r
+  are licensed and made available under the terms and conditions of the BSD License         \r
+  which accompanies this distribution.  The full text of the license may be found at        \r
+  http://opensource.org/licenses/bsd-license.php                                            \r
 \r
-  Some definitions for Security Architectural Protocol stub driver\r
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
+  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
 \r
---*/\r
+**/\r
 \r
 #ifndef _SECURITY_STUB_ARCH_PROTOCOL_H\r
 #define _SECURITY_STUB_ARCH_PROTOCOL_H\r
@@ -41,15 +34,13 @@ SecurityStubAuthenticateState (
   IN EFI_SECURITY_ARCH_PROTOCOL          *This,\r
   IN UINT32                              AuthenticationStatus,\r
   IN  EFI_DEVICE_PATH_PROTOCOL           *File\r
-  )\r
-;\r
+  );\r
 \r
 EFI_STATUS\r
 EFIAPI\r
 SecurityStubInitialize (\r
   IN EFI_HANDLE        ImageHandle,\r
   IN EFI_SYSTEM_TABLE  *SystemTable\r
-  )\r
-;\r
+  );\r
 \r
 #endif\r