From 39157531c836143b1da4a90dd686160bc3f6d197 Mon Sep 17 00:00:00 2001 From: jljusten Date: Wed, 17 Jun 2009 08:02:21 +0000 Subject: 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 --- ShellPkg/Application/ShellCTestApp/ShellCTestApp.c | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'ShellPkg/Application/ShellCTestApp') diff --git a/ShellPkg/Application/ShellCTestApp/ShellCTestApp.c b/ShellPkg/Application/ShellCTestApp/ShellCTestApp.c index 8e771afaeb..44f50790c0 100644 --- a/ShellPkg/Application/ShellCTestApp/ShellCTestApp.c +++ b/ShellPkg/Application/ShellCTestApp/ShellCTestApp.c @@ -17,11 +17,19 @@ #include #include -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; } \ No newline at end of file -- cgit v1.2.3