git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Remove a couple of duplicated include

From
MCMarco Costalba <mcostalba@gmail.com>
Date
Nov 4, 2007, 14:35 UTC
Message-ID
<e5bfff550711040635v3f95709ck3bd2aab62e575f7e@mail.gmail.com>
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
---
 compat/inet_ntop.c |    1 -
 compat/inet_pton.c |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/compat/inet_ntop.c b/compat/inet_ntop.c
index 4d7ab9d..f444982 100644
--- a/compat/inet_ntop.c
+++ b/compat/inet_ntop.c
@@ -18,7 +18,6 @@
 #include <errno.h>
 #include <sys/types.h>
 #include <sys/socket.h>
-#include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <stdio.h>
diff --git a/compat/inet_pton.c b/compat/inet_pton.c
index 5704e0d..4078fc0 100644
--- a/compat/inet_pton.c
+++ b/compat/inet_pton.c
@@ -18,7 +18,6 @@
 #include <errno.h>
 #include <sys/types.h>
 #include <sys/socket.h>
-#include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <stdio.h>
-- 
1.5.3.5.532.g5c38-dirty
Message 1 of 1 in “Remove a couple of duplicated include”
  1. Remove a couple of duplicated includeMarco Costalba, Nov 4, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.