]> wimlib.net Git - wimlib/blobdiff - include/wimlib/compiler.h
Don't bother with malloc function attribute
[wimlib] / include / wimlib / compiler.h
index 1d596e20a37641b5ec9874f3875febf1d1a45438..91445b2a6ada21275e9648ff5c1cff79f7c248d0 100644 (file)
 #  define _cold_attribute
 #endif
 
-/* Hint that the annotated function is malloc-like: any non-null pointer it
- * returns will not alias any pointer previously in use by the program.  */
-#define _malloc_attribute      __attribute__((malloc))
-
 /* Hint that the annotated function takes a printf()-like format string and
  * arguments.  This is currently disabled on Windows because MinGW does not
  * support this attribute on functions taking wide-character strings.  */