Fix build of ShellC Lib/App for GCC.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8582 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jljusten
2009-06-17 08:02:21 +00:00
parent 05db8d5506
commit 39157531c8
3 changed files with 43 additions and 47 deletions

View File

@ -17,11 +17,19 @@
#include <Library/UefiLib.h>
#include <Library/DebugLib.h>
INT32
INTN
EFIAPI
main(
UINTN Argc,
CHAR16 **Argv
){
Print(L"Test Complete\r\n");
ShellAppMain (
IN INTN Argc,
IN CHAR16 **Argv
)
{
INTN Index;
Print(L"ShellCTestApp.c:ShellAppMain called with %d parameters\n", Argc);
for (Index = 0; Index < Argc; Index++) {
Print(L"Argv[%d]: %s\n", Index, Argv[Index]);
}
return 0;
}