]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StdLib/Include/sys/EfiCdefs.h
Add Socket Libraries.
[mirror_edk2.git] / StdLib / Include / sys / EfiCdefs.h
index 46aaf6e744f21ab8e212f988e884e18a9a95fdf7..c3a2772bfc202a75254fe3f18d124db573bc5204 100644 (file)
     that the library can be easily tuned for different compilers.\r
     __inline    Defined to the appropriate keyword or not defined.\r
     __func__    Defined to __FUNC__, __FUNCTION__, or NULL as appropriate.\r
-    __restrict  Defined to nothing for VC++ or to restrict for C99 compliant compilers.\r
+    __restrict  Defined to nothing for VC++ or to restrict for GCC and C99 compliant compilers.\r
 \r
     This file and its contents are inspired by the <sys/cdefs.h> files in Berkeley\r
     Unix.  They have been re-implemented to be specific to the EFI environment.\r
 \r
-    Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>\r
+    Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>\r
     This program and the accompanying materials are licensed and made available under\r
     the terms and conditions of the BSD License that accompanies this distribution.\r
     The full text of the license may be found at\r
-    http://opensource.org/licenses/bsd-license.php.\r
+    http://opensource.org/licenses/bsd-license.\r
 \r
     THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
     WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
   #endif\r
 #endif /* !(__STDC_VERSION__ >= 199901L) */\r
 \r
-// <DVM 12/21/2010> Experiment to disable RENAME for GCC\r
-#if  0\r
-#ifdef __GNUC__\r
-  #define __RENAME(x) ___RENAME(x)\r
-#else\r
-  #ifdef __lint__\r
-    #define __RENAME(x) __symbolrename(x)\r
-  #else\r
-    /*DVM To see where this might be used... */\r
-    //#error "No function renaming possible"\r
-    #define __RENAME(x)\r
-  #endif /* __lint__ */\r
-#endif /* __GNUC__ */\r
-#else /* if 0 */\r
-  #define __RENAME(x)\r
-#endif  /* if 0 */\r
+#define __RENAME(x)\r
 \r
   /*\r
   * A barrier to stop the optimizer from moving code or assume live\r
@@ -362,6 +347,4 @@ typedef UINT32  ULONG32;
 typedef  INT64   LONG64;\r
 typedef UINT64  ULONG64;\r
 \r
-//extern int EFIAPI main();\r
-\r
 #endif  /* _EFI_CDEFS_H */\r