]> git.proxmox.com Git - mirror_edk2.git/commitdiff
AppPkg/Applications/Main/Main.c: Remove EFIAPI from the definition of the main()...
authordarylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 16 Jan 2013 23:45:13 +0000 (23:45 +0000)
committerdarylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 16 Jan 2013 23:45:13 +0000 (23:45 +0000)
The main() function should not be declared as EFIAPI.  To do so conflicts with the C specification and does not match the internal declaration of main().

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: daryl.mcdaniel@intel.com
Reviewed-by: erik.c.bjorge@intel.com
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14059 6f19259b-4bc3-4df7-8a09-765794883524

AppPkg/Applications/Main/Main.c

index c2762d57d680d665a73a4cb69e090a3ba85049f9..f588a30fbd9a61e1e882b129c78ffd62b7cff287 100644 (file)
@@ -32,7 +32,6 @@
   @retval  Other     An error occurred.\r
 ***/\r
 int\r
-EFIAPI\r
 main (\r
   IN int Argc,\r
   IN char **Argv\r