diff options
author | Chen A Chen <chen.a.chen@intel.com> | 2016-09-29 15:15:15 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2016-10-09 10:27:45 +0800 |
commit | c20bd8e1e21772bff28a96d428db769e46033e6a (patch) | |
tree | ac3cc654f4797256164436f4b3b7a40a38812339 /ShellPkg/Application/Shell/ShellProtocol.c | |
parent | 4558491f8717c2ff8d1a3eeb1cd2af7322758612 (diff) | |
download | edk2-c20bd8e1e21772bff28a96d428db769e46033e6a.tar.gz edk2-c20bd8e1e21772bff28a96d428db769e46033e6a.tar.bz2 edk2-c20bd8e1e21772bff28a96d428db769e46033e6a.zip |
ShellPkg/Application: Remove unnecessary EFIAPI
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chen A Chen <chen.a.chen@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Ruiyu Ni <Ruiyu.ni@intel.com>
Diffstat (limited to 'ShellPkg/Application/Shell/ShellProtocol.c')
-rw-r--r-- | ShellPkg/Application/Shell/ShellProtocol.c | 25 |
1 files changed, 4 insertions, 21 deletions
diff --git a/ShellPkg/Application/Shell/ShellProtocol.c b/ShellPkg/Application/Shell/ShellProtocol.c index fb7dd84e5a..2bc0646b45 100644 --- a/ShellPkg/Application/Shell/ShellProtocol.c +++ b/ShellPkg/Application/Shell/ShellProtocol.c @@ -50,7 +50,6 @@ EfiShellClose ( @retval FALSE gEfiBlockIoProtocolGuid was not found.
**/
BOOLEAN
-EFIAPI
InternalShellProtocolIsBlockIoPresent(
IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath
)
@@ -80,7 +79,6 @@ InternalShellProtocolIsBlockIoPresent( @retval FALSE gEfiSimpleFileSystemProtocolGuid was not found.
**/
BOOLEAN
-EFIAPI
InternalShellProtocolIsSimpleFileSystemPresent(
IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath
)
@@ -113,7 +111,6 @@ InternalShellProtocolIsSimpleFileSystemPresent( @sa OpenProtocol
**/
EFI_STATUS
-EFIAPI
InternalShellProtocolDebugPrintMessage (
IN CONST CHAR16 *Mapping,
IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath
@@ -951,7 +948,6 @@ EfiShellBatchIsActive ( @retval other an error ocurred.
**/
EFI_STATUS
-EFIAPI
InternalOpenFileDevicePath(
IN OUT EFI_DEVICE_PATH_PROTOCOL *DevicePath,
OUT SHELL_FILE_HANDLE *FileHandle,
@@ -1183,7 +1179,7 @@ EfiShellCreateFile( @retval EFI_ACCESS_DENIED Guid already is assigned a name.
**/
EFI_STATUS
-EFIAPI
+EFIAPI
EfiShellRegisterGuidName(
IN CONST EFI_GUID *Guid,
IN CONST CHAR16 *GuidName
@@ -1430,7 +1426,6 @@ EfiShellEnablePageBreak ( @retval EFI_UNSUPPORTED Nested shell invocations are not allowed.
**/
EFI_STATUS
-EFIAPI
InternalShellExecuteDevicePath(
IN CONST EFI_HANDLE *ParentImageHandle,
IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath,
@@ -1639,7 +1634,6 @@ FreeAlloc: @retval EFI_UNSUPPORTED Nested shell invocations are not allowed.
**/
EFI_STATUS
-EFIAPI
InternalShellExecute(
IN CONST CHAR16 *CommandLine OPTIONAL,
IN CONST CHAR16 **Environment OPTIONAL,
@@ -1683,7 +1677,6 @@ InternalShellExecute( **/
STATIC
BOOLEAN
-EFIAPI
NestingEnabled(
)
{
@@ -1822,7 +1815,6 @@ EfiShellExecute( @param FileListNode pointer to the list node to free
**/
VOID
-EFIAPI
InternalFreeShellFileInfoNode(
IN EFI_SHELL_FILE_INFO *FileListNode
)
@@ -1950,7 +1942,6 @@ typedef struct { @return != NULL a pointer to the new node
**/
EFI_SHELL_FILE_INFO*
-EFIAPI
InternalDuplicateShellFileInfo(
IN EFI_SHELL_FILE_INFO *Node,
IN BOOLEAN Save
@@ -2003,7 +1994,6 @@ InternalDuplicateShellFileInfo( @return a pointer to the newly allocated structure.
**/
EFI_SHELL_FILE_INFO *
-EFIAPI
CreateAndPopulateShellFileInfo(
IN CONST CHAR16 *BasePath,
IN CONST EFI_STATUS Status,
@@ -2201,7 +2191,7 @@ EfiShellFindFilesInDir( @retval EFI_NOT_FOUND GuidName is not a known GUID Name.
**/
EFI_STATUS
-EFIAPI
+EFIAPI
EfiShellGetGuidFromName(
IN CONST CHAR16 *GuidName,
OUT EFI_GUID *Guid
@@ -2241,7 +2231,7 @@ EfiShellGetGuidFromName( @retval EFI_NOT_FOUND Guid is not assigned a name.
**/
EFI_STATUS
-EFIAPI
+EFIAPI
EfiShellGetGuidName(
IN CONST EFI_GUID *Guid,
OUT CONST CHAR16 **GuidName
@@ -2274,7 +2264,6 @@ EfiShellGetGuidName( @retval EFI_OUT_OF_RESOURCES
**/
EFI_STATUS
-EFIAPI
UpdateFileName(
IN CONST CHAR16 *BasePath,
IN OUT CHAR16 **Path
@@ -2335,7 +2324,6 @@ UpdateFileName( @retval EFI_OUT_OF_RESOURCES a memory allocation failed
**/
EFI_STATUS
-EFIAPI
ShellSearchHandle(
IN CONST CHAR16 *FilePattern,
IN EFI_UNICODE_COLLATION_PROTOCOL *UnicodeCollation,
@@ -2726,7 +2714,7 @@ EfiShellOpenFileList( pointer does not need to be freed by the caller.
**/
CONST CHAR16 *
-EFIAPI
+EFIAPI
EfiShellGetEnvEx(
IN CONST CHAR16 *Name,
OUT UINT32 *Attributes OPTIONAL
@@ -2863,7 +2851,6 @@ EfiShellGetEnv( @retval EFI_SUCCESS The environment variable was successfully updated.
**/
EFI_STATUS
-EFIAPI
InternalEfiShellSetEnv(
IN CONST CHAR16 *Name,
IN CONST CHAR16 *Value,
@@ -3297,7 +3284,6 @@ EfiShellIsRootShell( @return !NULL a list of all alias'
**/
CHAR16 *
-EFIAPI
InternalEfiShellGetListAlias(
)
{
@@ -3469,7 +3455,6 @@ EfiShellGetAlias( @retval EFI_NOT_FOUND the Alias intended to be deleted was not found
**/
EFI_STATUS
-EFIAPI
InternalSetAlias(
IN CONST CHAR16 *Command,
IN CONST CHAR16 *Alias,
@@ -3633,7 +3618,6 @@ EFI_SHELL_PROTOCOL mShellProtocol = { @return An error from LocateHandle, CreateEvent, or other core function.
**/
EFI_STATUS
-EFIAPI
CreatePopulateInstallShellProtocol (
IN OUT EFI_SHELL_PROTOCOL **NewShell
)
@@ -3873,7 +3857,6 @@ NotificationFunction( @retval EFI_OUT_OF_RESOURCES There is not enough mnemory available.
**/
EFI_STATUS
-EFIAPI
InernalEfiShellStartMonitor(
VOID
)
|