summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/BaseLib/SwapBytes16.c
diff options
context:
space:
mode:
authorgikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-11 02:59:41 +0000
committergikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-11 02:59:41 +0000
commit2fc60b703842994beb1d78f9221deca7d81d9159 (patch)
tree71aecf73de4ec34c7f638ec43542be90d9e85b83 /MdePkg/Library/BaseLib/SwapBytes16.c
parentfca1cc7199b5abcba465d51ac6f265b2253d68dd (diff)
downloadedk2-2fc60b703842994beb1d78f9221deca7d81d9159.tar.gz
edk2-2fc60b703842994beb1d78f9221deca7d81d9159.tar.bz2
edk2-2fc60b703842994beb1d78f9221deca7d81d9159.zip
Synchronize BaseLib h files to c files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6983 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseLib/SwapBytes16.c')
-rw-r--r--MdePkg/Library/BaseLib/SwapBytes16.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/MdePkg/Library/BaseLib/SwapBytes16.c b/MdePkg/Library/BaseLib/SwapBytes16.c
index 872250bac1..a656a8cea2 100644
--- a/MdePkg/Library/BaseLib/SwapBytes16.c
+++ b/MdePkg/Library/BaseLib/SwapBytes16.c
@@ -24,16 +24,16 @@
from little endian to big endian or vice versa. The byte swapped value is
returned.
- @param Value Operand A 16-bit unsigned value.
+ @param Value A 16-bit unsigned value.
- @return The byte swapped Operand.
+ @return The byte swapped value.
**/
UINT16
EFIAPI
SwapBytes16 (
- IN UINT16 Operand
+ IN UINT16 Value
)
{
- return (UINT16) ((Operand << 8) | (Operand >> 8));
+ return (UINT16) ((Value<< 8) | (Value>> 8));
}