diff options
author | ng0 <ng0@n0.is> | 2019-11-20 00:16:03 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-11-20 00:17:07 +0000 |
commit | 7e88790024745f718df020fed16a414ce3670a1e (patch) | |
tree | 9fe0a5380d9a714f117acf7461065cdf6cd646bb | |
parent | d299b411ec72826aa87f629b52d07cdc5fc4ad29 (diff) | |
download | gnunet-ext-7e88790024745f718df020fed16a414ce3670a1e.tar.gz gnunet-ext-7e88790024745f718df020fed16a414ce3670a1e.zip |
remove FDTYPE and SOCKTYPE.
-rw-r--r-- | src/ext/ext_api.c | 8 | ||||
-rw-r--r-- | src/ext/gnunet-ext.c | 8 | ||||
-rw-r--r-- | src/ext/gnunet-service-ext.c | 8 | ||||
-rw-r--r-- | src/ext/test_ext_api.c | 8 |
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 @@ | |||
26 | #include "gnunet_ext_config.h" | 26 | #include "gnunet_ext_config.h" |
27 | #include <stddef.h> | 27 | #include <stddef.h> |
28 | 28 | ||
29 | #if WINDOWS | ||
30 | #define FDTYPE HANDLE | ||
31 | #define SOCKTYPE SOCKET | ||
32 | #else | ||
33 | #define FDTYPE int | ||
34 | #define SOCKTYPE int | ||
35 | #endif | ||
36 | |||
37 | #include <gnunet/gnunet_util_lib.h> | 29 | #include <gnunet/gnunet_util_lib.h> |
38 | #include "gnunet_ext_service.h" | 30 | #include "gnunet_ext_service.h" |
39 | 31 | ||
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 @@ | |||
26 | #include "gnunet_ext_config.h" | 26 | #include "gnunet_ext_config.h" |
27 | #include <stddef.h> | 27 | #include <stddef.h> |
28 | 28 | ||
29 | #if WINDOWS | ||
30 | #define FDTYPE HANDLE | ||
31 | #define SOCKTYPE SOCKET | ||
32 | #else | ||
33 | #define FDTYPE int | ||
34 | #define SOCKTYPE int | ||
35 | #endif | ||
36 | |||
37 | #if HAVE_NETINET_IN_H | 29 | #if HAVE_NETINET_IN_H |
38 | #include <netinet/in.h> | 30 | #include <netinet/in.h> |
39 | #endif | 31 | #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 @@ | |||
26 | #include "gnunet_ext_config.h" | 26 | #include "gnunet_ext_config.h" |
27 | #include <stddef.h> | 27 | #include <stddef.h> |
28 | 28 | ||
29 | #if WINDOWS | ||
30 | #define FDTYPE HANDLE | ||
31 | #define SOCKTYPE SOCKET | ||
32 | #else | ||
33 | #define FDTYPE int | ||
34 | #define SOCKTYPE int | ||
35 | #endif | ||
36 | |||
37 | #if HAVE_NETINET_IN_H | 29 | #if HAVE_NETINET_IN_H |
38 | #include <netinet/in.h> | 30 | #include <netinet/in.h> |
39 | #endif | 31 | #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 @@ | |||
24 | #include "gnunet_ext_config.h" | 24 | #include "gnunet_ext_config.h" |
25 | #include <stddef.h> | 25 | #include <stddef.h> |
26 | 26 | ||
27 | #if WINDOWS | ||
28 | #define FDTYPE HANDLE | ||
29 | #define SOCKTYPE SOCKET | ||
30 | #else | ||
31 | #define FDTYPE int | ||
32 | #define SOCKTYPE int | ||
33 | #endif | ||
34 | |||
35 | #if HAVE_NETINET_IN_H | 27 | #if HAVE_NETINET_IN_H |
36 | #include <netinet/in.h> | 28 | #include <netinet/in.h> |
37 | #endif | 29 | #endif |