2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 06:15:37 +00:00

No longer need __malloc_like

This commit is contained in:
Todd C. Miller
2015-06-20 16:56:57 -06:00
parent 4da6468d5a
commit f6627e70b0

View File

@@ -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.