mirror of
https://github.com/sudo-project/sudo.git
synced 2025-09-01 14:55:12 +00:00
No longer need __malloc_like
This commit is contained in:
@@ -68,15 +68,6 @@
|
|||||||
# endif
|
# endif
|
||||||
#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
|
* Given the pointer x to the member m of the struct s, return
|
||||||
* a pointer to the containing structure.
|
* a pointer to the containing structure.
|
||||||
|
Reference in New Issue
Block a user