public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Ruiyu Ni <ruiyu.ni@intel.com>
To: edk2-devel@lists.01.org
Cc: Ruiyu Ni <Ruiyu.ni@intel.com>,
	Chen A Chen <chen.a.chen@intel.com>,
	Jaben Carsey <jaben.carsey@intel.com>
Subject: [PATCH 04/11] ShellPkg/UefiShellLevel1CommandsLib: Remove unnecessary EFIAPI
Date: Fri, 30 Sep 2016 16:17:45 +0800	[thread overview]
Message-ID: <20160930081752.569916-5-ruiyu.ni@intel.com> (raw)
In-Reply-To: <20160930081752.569916-1-ruiyu.ni@intel.com>

From: Ruiyu Ni <Ruiyu.ni@intel.com>

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chen A Chen <chen.a.chen@intel.com>
Cc: Jaben Carsey <jaben.carsey@intel.com>
Cc: Ruiyu Ni <Ruiyu.ni@intel.com>
---
 ShellPkg/Library/UefiShellLevel1CommandsLib/For.c                   | 5 -----
 ShellPkg/Library/UefiShellLevel1CommandsLib/If.c                    | 6 ------
 .../Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.c | 2 --
 .../Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.h | 1 -
 4 files changed, 14 deletions(-)

diff --git a/ShellPkg/Library/UefiShellLevel1CommandsLib/For.c b/ShellPkg/Library/UefiShellLevel1CommandsLib/For.c
index 6cfe8a7..3db4bb5 100644
--- a/ShellPkg/Library/UefiShellLevel1CommandsLib/For.c
+++ b/ShellPkg/Library/UefiShellLevel1CommandsLib/For.c
@@ -25,7 +25,6 @@
   @retval FALSE   The number is not valid.
 **/
 BOOLEAN
-EFIAPI
 ShellIsValidForNumber (
   IN CONST CHAR16 *Number
   )
@@ -129,7 +128,6 @@ typedef struct {
   @retval EFI_OUT_OF_RESOURCES  There was not enough free memory.
 **/
 EFI_STATUS
-EFIAPI
 InternalUpdateAliasOnList(
   IN CONST CHAR16       *Alias,
   IN CONST CHAR16       *CommandString,
@@ -185,7 +183,6 @@ InternalUpdateAliasOnList(
   @retval FALSE                 The alias is not on the list.
 **/
 BOOLEAN
-EFIAPI
 InternalIsAliasOnList(
   IN CONST CHAR16       *Alias,
   IN CONST LIST_ENTRY   *List
@@ -221,7 +218,6 @@ InternalIsAliasOnList(
   @param[in, out] List           The list to search.
 **/
 BOOLEAN
-EFIAPI
 InternalRemoveAliasFromList(
   IN CONST CHAR16       *Alias,
   IN OUT LIST_ENTRY     *List
@@ -264,7 +260,6 @@ InternalRemoveAliasFromList(
   @retval (UINTN)(-1) An error ocurred.
 **/
 UINTN
-EFIAPI
 ReturnUintn(
   IN CONST CHAR16 *String
   )
diff --git a/ShellPkg/Library/UefiShellLevel1CommandsLib/If.c b/ShellPkg/Library/UefiShellLevel1CommandsLib/If.c
index 37e196c..35c5ca6 100644
--- a/ShellPkg/Library/UefiShellLevel1CommandsLib/If.c
+++ b/ShellPkg/Library/UefiShellLevel1CommandsLib/If.c
@@ -92,7 +92,6 @@ IsNextFragment (
   @retval FALSE   String is not a valid profile.
 **/
 BOOLEAN
-EFIAPI
 IsValidProfile (
   IN CONST CHAR16 *String
   )
@@ -121,7 +120,6 @@ IsValidProfile (
   @return     The result of the comparison.
 **/
 BOOLEAN
-EFIAPI
 TestOperation (
   IN CONST CHAR16             *Compare1,
   IN CONST CHAR16             *Compare2,
@@ -351,7 +349,6 @@ TestOperation (
   @retval EFI_SUCCESS             The operation was successful.                                  
 **/
 EFI_STATUS
-EFIAPI
 ProcessStatement (
   IN OUT BOOLEAN          *PassingState,
   IN UINTN                StartParameterNumber,
@@ -661,7 +658,6 @@ ProcessStatement (
   @retval FALSE   A valid statement was not found.
 **/
 BOOLEAN
-EFIAPI
 BuildNextStatement (
   IN UINTN          ParameterNumber,
   OUT UINTN         *EndParameter,
@@ -713,7 +709,6 @@ BuildNextStatement (
   @retval FALSE    Something went wrong.
 **/
 BOOLEAN
-EFIAPI
 MoveToTagSpecial (
   IN SCRIPT_FILE                *ScriptFile
   )
@@ -804,7 +799,6 @@ MoveToTagSpecial (
   @retval EFI_NOT_FOUND     The ending tag could not be found.
 **/
 EFI_STATUS
-EFIAPI
 PerformResultOperation (
   IN CONST BOOLEAN Result
   )
diff --git a/ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.c b/ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.c
index 80d0dfe..2b8a104 100644
--- a/ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.c
+++ b/ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.c
@@ -121,7 +121,6 @@ ShellLevel1CommandsLibDestructor (
   @param[in, out] TargetCount  The pointer to the current count.
 **/
 BOOLEAN
-EFIAPI
 TestNodeForMove (
   IN CONST LIST_MANIP_FUNC      Function,
   IN CONST CHAR16               *DecrementerTag,
@@ -246,7 +245,6 @@ TestNodeForMove (
                                searching.
 **/
 BOOLEAN
-EFIAPI
 MoveToTag (
   IN CONST LIST_MANIP_FUNC      Function,
   IN CONST CHAR16               *DecrementerTag,
diff --git a/ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.h b/ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.h
index c4ef536..292abbf 100644
--- a/ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.h
+++ b/ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.h
@@ -195,7 +195,6 @@ LIST_ENTRY *
                                searching.
 **/
 BOOLEAN
-EFIAPI
 MoveToTag (
   IN CONST LIST_MANIP_FUNC      Function,
   IN CONST CHAR16               *DecrementerTag,
-- 
2.9.0.windows.1



  parent reply	other threads:[~2016-09-30  8:18 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-30  8:17 [PATCH 00/11] Remove unnecessary EFIAPI Ruiyu Ni
2016-09-30  8:17 ` [PATCH 01/11] ShellPkg/Shell: " Ruiyu Ni
2016-09-30  8:17 ` [PATCH 02/11] ShellPkg/UefiShellDebug1CommandsLib: " Ruiyu Ni
2016-09-30  8:17 ` [PATCH 03/11] ShellPkg/UefiShellDriver1CommandsLib: " Ruiyu Ni
2016-09-30  8:17 ` Ruiyu Ni [this message]
2016-09-30  8:17 ` [PATCH 05/11] ShellPkg/UefiShellLevel2CommandsLib: " Ruiyu Ni
2017-08-03 19:06   ` Palmer, Thomas
2017-08-07  5:56     ` Ni, Ruiyu
2017-08-07 17:01       ` Palmer, Thomas
2017-08-09 23:39       ` Palmer, Thomas
2017-08-10  0:41         ` Ni, Ruiyu
2017-08-10  0:59           ` Palmer, Thomas
2016-09-30  8:17 ` [PATCH 06/11] ShellPkg/UefiShellLevel3CommandsLib: " Ruiyu Ni
2016-09-30  8:17 ` [PATCH 07/11] ShellPkg/UefiShellParsingLib: " Ruiyu Ni
2016-09-30  8:17 ` [PATCH 08/11] ShellPkg/UefiShellBcfgCommandLib: " Ruiyu Ni
2016-09-30  8:17 ` [PATCH 09/11] ShellPkg/UefiShellCommandLib: " Ruiyu Ni
2016-09-30  8:17 ` [PATCH 10/11] ShellPkg/UefiShellLib: " Ruiyu Ni
2016-09-30  8:17 ` [PATCH 11/11] ShellPkg/UefiShellNetwork1CommandsLib: " Ruiyu Ni
2016-09-30 15:13 ` [PATCH 00/11] " Carsey, Jaben
2016-09-30 16:02   ` Ni, Ruiyu
2016-10-13  1:31 ` Ni, Ruiyu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160930081752.569916-5-ruiyu.ni@intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox