]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Include/ShellBase.h
UefiCpuPkg/Cpuid: Remove wrong while-loop check after for-loop
[mirror_edk2.git] / ShellPkg / Include / ShellBase.h
index 73ef064207814028880c112ea4ad689f614cc1e0..09f87b4cc0942e1ea200980639e8269df4d54e2a 100644 (file)
 \r
 **/\r
 \r
-#ifndef __SHELL_BASE__\r
-#define __SHELL_BASE__\r
-\r
-#define ABS(a) ((a<0)?(-(a)):(a))\r
+#ifndef _SHELL_BASE_\r
+#define _SHELL_BASE_\r
 \r
 typedef VOID *SHELL_FILE_HANDLE;\r
 \r
-#ifndef SHELL_FREE_NON_NULL\r
 #define SHELL_FREE_NON_NULL(Pointer)  \\r
   do {                                \\r
     if ((Pointer) != NULL) {          \\r
@@ -27,7 +24,6 @@ typedef VOID *SHELL_FILE_HANDLE;
       (Pointer) = NULL;               \\r
     }                                 \\r
   } while(FALSE)\r
-#endif //SHELL_FREE_NON_NULL\r
 \r
 typedef enum {\r
 ///\r
@@ -158,4 +154,4 @@ SHELL_SECURITY_VIOLATION    = 26,
 SHELL_NOT_EQUAL             = 27\r
 }SHELL_STATUS;\r
 \r
-#endif //__SHELL_BASE__
\ No newline at end of file
+#endif //__SHELL_BASE_\r