if_index: Remove unneeded alloca.h include
Checks
Context |
Check |
Description |
dj/TryBot-apply_patch |
success
|
Patch applied to master at the time it was sent
|
dj/TryBot-32bit |
success
|
Build for i686
|
Commit Message
Nothing is being used from this header.
---
sysdeps/unix/sysv/linux/if_index.c | 1 -
1 file changed, 1 deletion(-)
Comments
On 2023-04-25 10:26, Joe Simmons-Talbott via Libc-alpha wrote:
> Nothing is being used from this header.
LGTM.
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
> ---
> sysdeps/unix/sysv/linux/if_index.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/sysdeps/unix/sysv/linux/if_index.c b/sysdeps/unix/sysv/linux/if_index.c
> index ac22d0b742..432a3f9251 100644
> --- a/sysdeps/unix/sysv/linux/if_index.c
> +++ b/sysdeps/unix/sysv/linux/if_index.c
> @@ -15,7 +15,6 @@
> License along with the GNU C Library; if not, see
> <https://www.gnu.org/licenses/>. */
>
> -#include <alloca.h>
> #include <errno.h>
> #include <string.h>
> #include <stdio.h>
@@ -15,7 +15,6 @@
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
-#include <alloca.h>
#include <errno.h>
#include <string.h>
#include <stdio.h>