summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-11-20 00:16:03 +0000
committerng0 <ng0@n0.is>2019-11-20 00:17:07 +0000
commit7e88790024745f718df020fed16a414ce3670a1e (patch)
tree9fe0a5380d9a714f117acf7461065cdf6cd646bb
parentd299b411ec72826aa87f629b52d07cdc5fc4ad29 (diff)
remove FDTYPE and SOCKTYPE.
-rw-r--r--src/ext/ext_api.c8
-rw-r--r--src/ext/gnunet-ext.c8
-rw-r--r--src/ext/gnunet-service-ext.c8
-rw-r--r--src/ext/test_ext_api.c8
4 files changed, 0 insertions, 32 deletions
diff --git a/src/ext/ext_api.c b/src/ext/ext_api.c
index 365dd89..99498bd 100644
--- a/src/ext/ext_api.c
+++ b/src/ext/ext_api.c
@@ -26,14 +26,6 @@
#include "gnunet_ext_config.h"
#include <stddef.h>
-#if WINDOWS
-#define FDTYPE HANDLE
-#define SOCKTYPE SOCKET
-#else
-#define FDTYPE int
-#define SOCKTYPE int
-#endif
-
#include <gnunet/gnunet_util_lib.h>
#include "gnunet_ext_service.h"
diff --git a/src/ext/gnunet-ext.c b/src/ext/gnunet-ext.c
index 00195e0..7a77c17 100644
--- a/src/ext/gnunet-ext.c
+++ b/src/ext/gnunet-ext.c
@@ -26,14 +26,6 @@
#include "gnunet_ext_config.h"
#include <stddef.h>
-#if WINDOWS
-#define FDTYPE HANDLE
-#define SOCKTYPE SOCKET
-#else
-#define FDTYPE int
-#define SOCKTYPE int
-#endif
-
#if HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
diff --git a/src/ext/gnunet-service-ext.c b/src/ext/gnunet-service-ext.c
index 83cbd52..fa62291 100644
--- a/src/ext/gnunet-service-ext.c
+++ b/src/ext/gnunet-service-ext.c
@@ -26,14 +26,6 @@
#include "gnunet_ext_config.h"
#include <stddef.h>
-#if WINDOWS
-#define FDTYPE HANDLE
-#define SOCKTYPE SOCKET
-#else
-#define FDTYPE int
-#define SOCKTYPE int
-#endif
-
#if HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
diff --git a/src/ext/test_ext_api.c b/src/ext/test_ext_api.c
index 6a95d04..ab6a8d3 100644
--- a/src/ext/test_ext_api.c
+++ b/src/ext/test_ext_api.c
@@ -24,14 +24,6 @@
#include "gnunet_ext_config.h"
#include <stddef.h>
-#if WINDOWS
-#define FDTYPE HANDLE
-#define SOCKTYPE SOCKET
-#else
-#define FDTYPE int
-#define SOCKTYPE int
-#endif
-
#if HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif