From: Todd C. Miller Date: Sat, 20 Jun 2015 22:56:57 +0000 (-0600) Subject: No longer need __malloc_like X-Git-Tag: SUDO_1_8_14^2~60 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f6627e70b09690d6b3892cedbfb3174de92e8b1f;p=sudo No longer need __malloc_like --- diff --git a/include/sudo_compat.h b/include/sudo_compat.h index 4161ee887..c41cc0740 100644 --- a/include/sudo_compat.h +++ b/include/sudo_compat.h @@ -68,15 +68,6 @@ # endif #endif -/* Hint to compiler that returned pointer is unique (malloc but not realloc). */ -#ifndef __malloc_like -# if __GNUC_PREREQ__(2, 96) -# define __malloc_like __attribute__((__malloc__)) -# else -# define __malloc_like -# endif -#endif - /* * Given the pointer x to the member m of the struct s, return * a pointer to the containing structure.