fix parameter type

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8904 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jcarsey 2009-07-12 03:43:03 +00:00
parent 551b6ada05
commit 94c5492c8a
3 changed files with 35 additions and 42 deletions

View File

@ -35,7 +35,7 @@
INTN INTN
EFIAPI EFIAPI
ShellAppMain ( ShellAppMain (
IN INTN Argc, IN UINTN Argc,
IN CHAR16 **Argv IN CHAR16 **Argv
) )
{ {

View File

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

View File

@ -21,13 +21,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include <Library/ShellCEntryLib.h> #include <Library/ShellCEntryLib.h>
#include <Library/DebugLib.h> #include <Library/DebugLib.h>
INTN
EFIAPI
ShellAppMain (
IN INTN Argc,
IN CHAR16 **Argv
);
/** /**
UEFI entry point for an application that will in turn call the UEFI entry point for an application that will in turn call the
ShellAppMain function which has parameters similar to a standard C ShellAppMain function which has parameters similar to a standard C