]> git.proxmox.com Git - mirror_edk2.git/commitdiff
fix parameter type
authorjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>
Sun, 12 Jul 2009 03:43:03 +0000 (03:43 +0000)
committerjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>
Sun, 12 Jul 2009 03:43:03 +0000 (03:43 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8904 6f19259b-4bc3-4df7-8a09-765794883524

ShellPkg/Application/ShellCTestApp/ShellCTestApp.c
ShellPkg/Include/Library/ShellCEntryLib.h
ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.c

index 0a60af0932b5ac29e1e4acd6f10311790f1f9c5d..8b3762e1676d04e88452e06fdeccebccfb796014 100644 (file)
@@ -35,7 +35,7 @@
 INTN \r
 EFIAPI \r
 ShellAppMain (\r
-  IN INTN Argc, \r
+  IN UINTN Argc, \r
   IN CHAR16 **Argv\r
   )\r
 {\r
index cd09748832cdada708ddc2efde39edee1d786416..9f5969cf357c8d9b7d1a6cc807513db3bcee2e42 100644 (file)
@@ -1,34 +1,34 @@
-/** @file
-  Provides application point extension for "C" style main funciton 
-
-Copyright (c) 2006 - 2009, Intel Corporation
-All rights reserved. This program and the accompanying materials
-are licensed and made available under the terms and conditions of the BSD License
-which accompanies this distribution.  The full text of the license may be found at
-http://opensource.org/licenses/bsd-license.php
-
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-
-**/
-
-/**
-  UEFI application entry point which has an interface similar to a
-  standard C main function.
-
-  The ShellCEntryLib library instance wrappers the actual UEFI application
-  entry point and calls this ShellAppMain function.
-
-  @param  ImageHandle  The image handle of the UEFI Application.
-  @param  SystemTable  A pointer to the EFI System Table.
-
-  @retval  0               The application exited normally.
-  @retval  Other           An error occurred.
-
-**/
-INTN
-EFIAPI 
-ShellAppMain (
-  IN INTN Argc, 
-  IN CHAR16 **Argv
-  );
+/** @file\r
+  Provides application point extension for "C" style main funciton \r
+\r
+Copyright (c) 2006 - 2009, 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
+**/\r
+\r
+/**\r
+  UEFI application entry point which has an interface similar to a\r
+  standard C main function.\r
+\r
+  The ShellCEntryLib library instance wrappers the actual UEFI application\r
+  entry point and calls this ShellAppMain function.\r
+\r
+  @param  ImageHandle  The image handle of the UEFI Application.\r
+  @param  SystemTable  A pointer to the EFI System Table.\r
+\r
+  @retval  0               The application exited normally.\r
+  @retval  Other           An error occurred.\r
+\r
+**/\r
+INTN\r
+EFIAPI \r
+ShellAppMain (\r
+  IN UINTN Argc, \r
+  IN CHAR16 **Argv\r
+  );\r
index 80f56c00148f2915799d421dd8da6e01786947de..cde3d8cbc3dd2d5593365f7dd47cec795269e65a 100644 (file)
@@ -21,13 +21,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #include <Library/ShellCEntryLib.h>\r
 #include <Library/DebugLib.h>\r
 \r
-INTN\r
-EFIAPI \r
-ShellAppMain (\r
-  IN INTN Argc, \r
-  IN CHAR16 **Argv\r
-  );\r
-\r
 /**\r
   UEFI entry point for an application that will in turn call the\r
   ShellAppMain function which has parameters similar to a standard C\r