diff options
author | Chen A Chen <chen.a.chen@intel.com> | 2016-09-29 14:41:41 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2016-10-09 10:27:47 +0800 |
commit | c4e74e9b814cfb4b51cf832f3bb218cd2aba348b (patch) | |
tree | 5678464b0cfdab915eee86d2c8f55bc32a746321 /ShellPkg/Library/UefiShellDebug1CommandsLib/Edit | |
parent | c20bd8e1e21772bff28a96d428db769e46033e6a (diff) | |
download | edk2-platforms-c4e74e9b814cfb4b51cf832f3bb218cd2aba348b.tar.xz |
ShellPkg/UefiShellDebug1CommandsLib: 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/Library/UefiShellDebug1CommandsLib/Edit')
6 files changed, 0 insertions, 80 deletions
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.c index efe0df0253..9713ccaf50 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.c @@ -72,7 +72,6 @@ extern BOOLEAN EditorMouseAction; @param EFI_OUT_OF_RESOURCES A memory allocation failed.
**/
EFI_STATUS
-EFIAPI
FileBufferInit (
VOID
)
@@ -121,7 +120,6 @@ FileBufferInit ( @retval EFI_SUCCESS The backup operation was successful.
**/
EFI_STATUS
-EFIAPI
FileBufferBackup (
VOID
)
@@ -155,7 +153,6 @@ FileBufferBackup ( @return The line structure after the advance.
**/
EFI_EDITOR_LINE *
-EFIAPI
InternalEditorMiscLineAdvance (
IN CONST UINTN Count,
IN CONST EFI_EDITOR_LINE *CurrentLine,
@@ -195,7 +192,6 @@ InternalEditorMiscLineAdvance ( @return The line structure after the retreat.
**/
EFI_EDITOR_LINE *
-EFIAPI
InternalEditorMiscLineRetreat (
IN CONST UINTN Count,
IN CONST EFI_EDITOR_LINE *CurrentLine,
@@ -262,7 +258,6 @@ MoveLine ( @retval EFI_SUCCESS The backup operation was successful.
**/
EFI_STATUS
-EFIAPI
FileBufferRestoreMousePosition (
VOID
)
@@ -406,7 +401,6 @@ FileBufferRestoreMousePosition ( @retval EFI_SUCCESS The operation was successful.
**/
EFI_STATUS
-EFIAPI
FileBufferFreeLines (
VOID
)
@@ -450,7 +444,6 @@ FileBufferFreeLines ( @retval EFI_SUCCESS The cleanup was successful.
**/
EFI_STATUS
-EFIAPI
FileBufferCleanup (
VOID
)
@@ -537,7 +530,6 @@ FileBufferPrintLine ( @retval EFI_SUCCESS The operation was successful.
**/
EFI_STATUS
-EFIAPI
FileBufferRestorePosition (
VOID
)
@@ -559,7 +551,6 @@ FileBufferRestorePosition ( @retval EFI_LOAD_ERROR There was an error finding what to write.
**/
EFI_STATUS
-EFIAPI
FileBufferRefresh (
VOID
)
@@ -671,7 +662,6 @@ FileBufferRefresh ( @return The line created.
**/
EFI_EDITOR_LINE *
-EFIAPI
FileBufferCreateLine (
VOID
)
@@ -726,7 +716,6 @@ FileBufferCreateLine ( @retval EFI_INVALID_PARAMETER Str is not a valid filename.
**/
EFI_STATUS
-EFIAPI
FileBufferSetFileName (
IN CONST CHAR16 *Str
)
@@ -758,7 +747,6 @@ FileBufferSetFileName ( @retval EFI_SUCCESS The operation was successful.
**/
EFI_STATUS
-EFIAPI
FileBufferFree (
VOID
)
@@ -785,7 +773,6 @@ FileBufferFree ( @retval EFI_INVALID_PARAMETER FileName is a directory.
**/
EFI_STATUS
-EFIAPI
FileBufferRead (
IN CONST CHAR16 *FileName,
IN CONST BOOLEAN Recover
@@ -1280,7 +1267,6 @@ Done: @param[out] Size The amount of the buffer used on return.
**/
VOID
-EFIAPI
GetNewLine (
IN CONST EE_NEWLINE_TYPE Type,
OUT CHAR8 *Buffer,
@@ -1387,7 +1373,6 @@ GetNewLine ( @return The actuall length.
**/
UINTN
-EFIAPI
UnicodeToAscii (
IN CONST CHAR16 *UStr,
IN CONST UINTN Length,
@@ -1416,7 +1401,6 @@ UnicodeToAscii ( @retval EFI_OUT_OF_RESOURCES There were not enough resources to write the file.
**/
EFI_STATUS
-EFIAPI
FileBufferSave (
IN CONST CHAR16 *FileName
)
@@ -1656,7 +1640,6 @@ FileBufferSave ( @retval EFI_SUCCESS The operation was successful.
**/
EFI_STATUS
-EFIAPI
FileBufferScrollLeft (
VOID
)
@@ -1703,7 +1686,6 @@ FileBufferScrollLeft ( @param[in] Pos Position to delete the char at ( start from 0 ).
**/
VOID
-EFIAPI
LineDeleteAt (
IN OUT EFI_EDITOR_LINE *Line,
IN UINTN Pos
@@ -1728,7 +1710,6 @@ LineDeleteAt ( @param[in] Src Src String.
**/
VOID
-EFIAPI
LineCat (
IN OUT EFI_EDITOR_LINE *Dest,
IN EFI_EDITOR_LINE *Src
@@ -1769,7 +1750,6 @@ LineCat ( @retval EFI_OUT_OF_RESOURCES A memory allocation failed.
**/
EFI_STATUS
-EFIAPI
FileBufferDoBackspace (
VOID
)
@@ -1841,7 +1821,6 @@ FileBufferDoBackspace ( @retval EFI_OUT_OF_RESOURCES A memory allocation failed.
**/
EFI_STATUS
-EFIAPI
FileBufferDoReturn (
VOID
)
@@ -1938,7 +1917,6 @@ FileBufferDoReturn ( @retval EFI_SUCCESS
**/
EFI_STATUS
-EFIAPI
FileBufferDoDelete (
VOID
)
@@ -2001,7 +1979,6 @@ FileBufferDoDelete ( @retval EFI_SUCCESS The operation was successful.
**/
EFI_STATUS
-EFIAPI
FileBufferScrollRight (
VOID
)
@@ -2055,7 +2032,6 @@ FileBufferScrollRight ( @return The new string size ( include CHAR_NULL ) ( unit is Unicode character ).
**/
UINTN
-EFIAPI
LineStrInsert (
IN EFI_EDITOR_LINE *Line,
IN CHAR16 Char,
@@ -2108,7 +2084,6 @@ LineStrInsert ( @retval EFI_SUCCESS The input was succesful.
**/
EFI_STATUS
-EFIAPI
FileBufferAddChar (
IN CHAR16 Char
)
@@ -2156,7 +2131,6 @@ FileBufferAddChar ( @retval EFI_OUT_OF_RESOURCES A memory allocation failed.
**/
EFI_STATUS
-EFIAPI
FileBufferDoCharInput (
IN CONST CHAR16 Char
)
@@ -2207,7 +2181,6 @@ FileBufferDoCharInput ( @retval EFI_SUCCESS The operation was successful.
**/
EFI_STATUS
-EFIAPI
FileBufferScrollDown (
VOID
)
@@ -2253,7 +2226,6 @@ FileBufferScrollDown ( @retval EFI_SUCCESS The operation was successful.
**/
EFI_STATUS
-EFIAPI
FileBufferScrollUp (
VOID
)
@@ -2296,7 +2268,6 @@ FileBufferScrollUp ( @retval EFI_SUCCESS The operation wa successful.
**/
EFI_STATUS
-EFIAPI
FileBufferPageDown (
VOID
)
@@ -2347,7 +2318,6 @@ FileBufferPageDown ( @retval EFI_SUCCESS The operation was successful.
**/
EFI_STATUS
-EFIAPI
FileBufferPageUp (
VOID
)
@@ -2403,7 +2373,6 @@ FileBufferPageUp ( @retval EFI_SUCCESS The operation was successful.
**/
EFI_STATUS
-EFIAPI
FileBufferEnd (
VOID
)
@@ -2441,7 +2410,6 @@ FileBufferEnd ( @retval EFI_OUT_OF_RESOURCES A memory allocation failed.
**/
EFI_STATUS
-EFIAPI
FileBufferHandleInput (
IN CONST EFI_INPUT_KEY *Key
)
@@ -2557,7 +2525,6 @@ FileBufferHandleInput ( @retval FALSE It is not above the current screen.
**/
BOOLEAN
-EFIAPI
AboveCurrentScreen (
IN UINTN FileRow
)
@@ -2581,7 +2548,6 @@ AboveCurrentScreen ( @retval FALSE It is not under the current screen.
**/
BOOLEAN
-EFIAPI
UnderCurrentScreen (
IN UINTN FileRow
)
@@ -2605,7 +2571,6 @@ UnderCurrentScreen ( @retval FALSE It is not to the left.
**/
BOOLEAN
-EFIAPI
LeftCurrentScreen (
IN UINTN FileCol
)
@@ -2629,7 +2594,6 @@ LeftCurrentScreen ( @retval FALSE It is not to the right.
**/
BOOLEAN
-EFIAPI
RightCurrentScreen (
IN UINTN FileCol
)
@@ -2655,7 +2619,6 @@ RightCurrentScreen ( @return The line after advance/retreat.
**/
EFI_EDITOR_LINE *
-EFIAPI
MoveCurrentLine (
IN INTN Count
)
@@ -2686,7 +2649,6 @@ MoveCurrentLine ( @param[in] NewFilePosCol The column of file position ( start from 1 ).
**/
VOID
-EFIAPI
FileBufferMovePosition (
IN CONST UINTN NewFilePosRow,
IN CONST UINTN NewFilePosCol
@@ -2802,7 +2764,6 @@ FileBufferMovePosition ( @retval EFI_OUT_OF_RESOURCES A memory allocation failed.
**/
EFI_STATUS
-EFIAPI
FileBufferCutLine (
OUT EFI_EDITOR_LINE **CutLine
)
@@ -2882,7 +2843,6 @@ FileBufferCutLine ( @retval EFI_OUT_OF_RESOURCES A memory allocation failed.
**/
EFI_STATUS
-EFIAPI
FileBufferPasteLine (
VOID
)
@@ -2954,7 +2914,6 @@ FileBufferPasteLine ( @retval EFI_NOT_FOUND The string Str was not found.
**/
EFI_STATUS
-EFIAPI
FileBufferSearch (
IN CONST CHAR16 *Str,
IN CONST UINTN Offset
@@ -3060,7 +3019,6 @@ FileBufferSearch ( @retval EFI_OUT_OF_RESOURCES A memory allocation failed.
**/
EFI_STATUS
-EFIAPI
FileBufferReplace (
IN CONST CHAR16 *Replace,
IN CONST UINTN SearchLen
@@ -3165,7 +3123,6 @@ FileBufferReplace ( @param[in] TextY The new y-coordinate.
**/
VOID
-EFIAPI
FileBufferAdjustMousePosition (
IN CONST INT32 TextX,
IN CONST INT32 TextY
@@ -3242,7 +3199,6 @@ FileBufferAdjustMousePosition ( @param[in] Offset The column to start at.
**/
EFI_STATUS
-EFIAPI
FileBufferReplaceAll (
IN CHAR16 *SearchStr,
IN CHAR16 *ReplaceStr,
@@ -3360,7 +3316,6 @@ FileBufferReplaceAll ( Set the modified state to TRUE.
**/
VOID
-EFIAPI
FileBufferSetModified (
VOID
)
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.h b/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.h index 9d4a08d7a3..6b46e4a173 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.h +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.h @@ -25,7 +25,6 @@ @param EFI_OUT_OF_RESOURCES A memory allocation failed.
**/
EFI_STATUS
-EFIAPI
FileBufferInit (
VOID
);
@@ -36,7 +35,6 @@ FileBufferInit ( @retval EFI_SUCCESS The cleanup was successful.
**/
EFI_STATUS
-EFIAPI
FileBufferCleanup (
VOID
);
@@ -48,7 +46,6 @@ FileBufferCleanup ( @retval EFI_LOAD_ERROR There was an error finding what to write.
**/
EFI_STATUS
-EFIAPI
FileBufferRefresh (
VOID
);
@@ -68,7 +65,6 @@ FileBufferRefresh ( @retval EFI_OUT_OF_RESOURCES A memory allocation failed.
**/
EFI_STATUS
-EFIAPI
FileBufferHandleInput (
IN CONST EFI_INPUT_KEY * Key
);
@@ -84,7 +80,6 @@ FileBufferHandleInput ( @retval EFI_SUCCESS The backup operation was successful.
**/
EFI_STATUS
-EFIAPI
FileBufferBackup (
VOID
);
@@ -95,7 +90,6 @@ FileBufferBackup ( @retval EFI_SUCCESS The operation was successful.
**/
EFI_STATUS
-EFIAPI
FileBufferRestorePosition (
VOID
);
@@ -110,7 +104,6 @@ FileBufferRestorePosition ( @retval EFI_INVALID_PARAMETER Str is not a valid filename.
**/
EFI_STATUS
-EFIAPI
FileBufferSetFileName (
IN CONST CHAR16 *Str
);
@@ -127,7 +120,6 @@ FileBufferSetFileName ( @retval EFI_INVALID_PARAMETER FileName is a directory.
**/
EFI_STATUS
-EFIAPI
FileBufferRead (
IN CONST CHAR16 *FileName,
IN CONST BOOLEAN Recover
@@ -143,7 +135,6 @@ FileBufferRead ( @retval EFI_OUT_OF_RESOURCES There were not enough resources to write the file.
**/
EFI_STATUS
-EFIAPI
FileBufferSave (
CONST CHAR16 *FileName
);
@@ -155,7 +146,6 @@ FileBufferSave ( @param[in] NewFilePosCol The column of file position ( start from 1 ).
**/
VOID
-EFIAPI
FileBufferMovePosition (
IN CONST UINTN NewFilePosRow,
IN CONST UINTN NewFilePosCol
@@ -172,7 +162,6 @@ FileBufferMovePosition ( @retval EFI_OUT_OF_RESOURCES A memory allocation failed.
**/
EFI_STATUS
-EFIAPI
FileBufferCutLine (
OUT EFI_EDITOR_LINE **CutLine
);
@@ -184,7 +173,6 @@ FileBufferCutLine ( @retval EFI_OUT_OF_RESOURCES A memory allocation failed.
**/
EFI_STATUS
-EFIAPI
FileBufferPasteLine (
VOID
);
@@ -199,7 +187,6 @@ FileBufferPasteLine ( @retval EFI_NOT_FOUND The string Str was not found.
**/
EFI_STATUS
-EFIAPI
FileBufferSearch (
IN CONST CHAR16 *Str,
IN CONST UINTN Offset
@@ -217,7 +204,6 @@ FileBufferSearch ( @retval EFI_OUT_OF_RESOURCES A memory allocation failed.
**/
EFI_STATUS
-EFIAPI
FileBufferReplace (
IN CONST CHAR16 *Replace,
IN CONST UINTN SearchLen
@@ -231,7 +217,6 @@ FileBufferReplace ( @param[in] Offset The column to start at.
**/
EFI_STATUS
-EFIAPI
FileBufferReplaceAll (
IN CHAR16 *SearchStr,
IN CHAR16 *ReplaceStr,
@@ -245,7 +230,6 @@ FileBufferReplaceAll ( @param[in] TextY The new y-coordinate.
**/
VOID
-EFIAPI
FileBufferAdjustMousePosition (
IN CONST INT32 TextX,
IN CONST INT32 TextY
@@ -255,7 +239,6 @@ FileBufferAdjustMousePosition ( Set the modified state to TRUE.
**/
VOID
-EFIAPI
FileBufferSetModified (
VOID
);
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/MainTextEditor.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/MainTextEditor.c index 4eb7d9eee3..14f51dff19 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/MainTextEditor.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/MainTextEditor.c @@ -1418,7 +1418,6 @@ EFI_EDITOR_GLOBAL_EDITOR MainEditorConst = { @retval EFI_LOAD_ERROR A load error occured.
**/
EFI_STATUS
-EFIAPI
MainEditorInit (
VOID
)
@@ -1552,7 +1551,6 @@ MainEditorInit ( @retval EFI_LOAD_ERROR A load error occured.
**/
EFI_STATUS
-EFIAPI
MainEditorCleanup (
VOID
)
@@ -1596,7 +1594,6 @@ MainEditorCleanup ( Refresh the main editor component.
**/
VOID
-EFIAPI
MainEditorRefresh (
VOID
)
@@ -1649,7 +1646,6 @@ MainEditorRefresh ( @return The X location of the mouse.
**/
INT32
-EFIAPI
GetTextX (
IN INT32 GuidX
)
@@ -1671,7 +1667,6 @@ GetTextX ( @return The Y location of the mouse.
**/
INT32
-EFIAPI
GetTextY (
IN INT32 GuidY
)
@@ -1695,7 +1690,6 @@ GetTextY ( @retval EFI_NOT_FOUND There was no mouse support found.
**/
EFI_STATUS
-EFIAPI
MainEditorHandleMouseInput (
IN EFI_SIMPLE_POINTER_STATE MouseState
)
@@ -1796,7 +1790,6 @@ MainEditorHandleMouseInput ( @retval EFI_OUT_OF_RESOURCES A memory allocation failed.
**/
EFI_STATUS
-EFIAPI
MainEditorKeyInput (
VOID
)
@@ -1893,7 +1886,6 @@ MainEditorKeyInput ( @retval EFI_OUT_OF_RESOURCES A memory allocation failed.
**/
EFI_STATUS
-EFIAPI
MainEditorSetCutLine (
EFI_EDITOR_LINE *Line
)
@@ -1925,7 +1917,6 @@ MainEditorSetCutLine ( @retval EFI_SUCCESS The operation was successful.
**/
EFI_STATUS
-EFIAPI
MainEditorBackup (
VOID
)
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/MainTextEditor.h b/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/MainTextEditor.h index c45859deda..8d9b9a9c91 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/MainTextEditor.h +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/MainTextEditor.h @@ -24,7 +24,6 @@ @retval EFI_LOAD_ERROR A load error occured.
**/
EFI_STATUS
-EFIAPI
MainEditorInit (
VOID
);
@@ -36,7 +35,6 @@ MainEditorInit ( @retval EFI_LOAD_ERROR A load error occured.
**/
EFI_STATUS
-EFIAPI
MainEditorCleanup (
VOID
);
@@ -45,7 +43,6 @@ MainEditorCleanup ( Refresh the main editor component.
**/
VOID
-EFIAPI
MainEditorRefresh (
VOID
);
@@ -58,7 +55,6 @@ MainEditorRefresh ( @retval EFI_OUT_OF_RESOURCES A memory allocation failed.
**/
EFI_STATUS
-EFIAPI
MainEditorKeyInput (
VOID
);
@@ -69,7 +65,6 @@ MainEditorKeyInput ( @retval EFI_SUCCESS The operation was successful.
**/
EFI_STATUS
-EFIAPI
MainEditorBackup (
VOID
);
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/Misc.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/Misc.c index ade78b8f90..e925e4ef6f 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/Misc.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/Misc.c @@ -24,7 +24,6 @@ @return a pointer to the newly allcoated line.
**/
EFI_EDITOR_LINE *
-EFIAPI
LineDup (
IN EFI_EDITOR_LINE *Src
)
@@ -65,7 +64,6 @@ LineDup ( @param Src The line structure to free.
**/
VOID
-EFIAPI
LineFree (
IN EFI_EDITOR_LINE *Src
)
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/Misc.h b/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/Misc.h index 583de3b42c..fa0f3ba05d 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/Misc.h +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/Misc.h @@ -25,7 +25,6 @@ @param Src The line structure to free.
**/
VOID
-EFIAPI
LineFree (
IN EFI_EDITOR_LINE *Src
);
@@ -39,7 +38,6 @@ LineFree ( @return a pointer to the newly allcoated line.
**/
EFI_EDITOR_LINE *
-EFIAPI
LineDup (
IN EFI_EDITOR_LINE *Src
);
|