public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] if_index: Remove unneeded alloca.h include
@ 2023-04-25 14:26 Joe Simmons-Talbott
  2023-04-25 14:32 ` Siddhesh Poyarekar
  0 siblings, 1 reply; 2+ messages in thread
From: Joe Simmons-Talbott @ 2023-04-25 14:26 UTC (permalink / raw)
  To: libc-alpha; +Cc: Joe Simmons-Talbott

Nothing is being used from this header.
---
 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>
-- 
2.39.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] if_index: Remove unneeded alloca.h include
  2023-04-25 14:26 [PATCH] if_index: Remove unneeded alloca.h include Joe Simmons-Talbott
@ 2023-04-25 14:32 ` Siddhesh Poyarekar
  0 siblings, 0 replies; 2+ messages in thread
From: Siddhesh Poyarekar @ 2023-04-25 14:32 UTC (permalink / raw)
  To: Joe Simmons-Talbott, libc-alpha

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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-04-25 14:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-25 14:26 [PATCH] if_index: Remove unneeded alloca.h include Joe Simmons-Talbott
2023-04-25 14:32 ` Siddhesh Poyarekar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).