threads / patch / 10646

patchRemove a couple of duplicated include

Subject: [PATCH] Remove a couple of duplicated include

## tl;dr

One message between Nov 4, 2007 and Nov 4, 2007. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Marco Costalba· Nov 4, 2007, 14:35 UTC · lore
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(-)
Show changes to 2 files +0 −2

compat/inet_ntop.c, compat/inet_pton.c

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

← back to recent threads