diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-11-10 23:10:40 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-11-10 23:10:50 +0100 |
commit | 7ff9290162ddcad90b27a266588dcd7ade2b414e (patch) | |
tree | 66fee48ece79a6150e6f3c18f6ee283ce9c1a844 /src/util | |
parent | 98a7419e66b93c17ad28fa7621652cc469f6d36e (diff) | |
download | gnunet-7ff9290162ddcad90b27a266588dcd7ade2b414e.tar.gz gnunet-7ff9290162ddcad90b27a266588dcd7ade2b414e.zip |
get rid of SOCKTYPE and FDTYPE
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/network.c | 2 | ||||
-rw-r--r-- | src/util/os_priority.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/util/network.c b/src/util/network.c index 99de5a7aa..2b407d97c 100644 --- a/src/util/network.c +++ b/src/util/network.c | |||
@@ -633,7 +633,7 @@ GNUNET_NETWORK_socket_free_memory_only_ (struct GNUNET_NETWORK_Handle *desc) | |||
633 | * @return NULL on error (including not supported on target platform) | 633 | * @return NULL on error (including not supported on target platform) |
634 | */ | 634 | */ |
635 | struct GNUNET_NETWORK_Handle * | 635 | struct GNUNET_NETWORK_Handle * |
636 | GNUNET_NETWORK_socket_box_native (SOCKTYPE fd) | 636 | GNUNET_NETWORK_socket_box_native (int fd) |
637 | { | 637 | { |
638 | struct GNUNET_NETWORK_Handle *ret; | 638 | struct GNUNET_NETWORK_Handle *ret; |
639 | 639 | ||
diff --git a/src/util/os_priority.c b/src/util/os_priority.c index 3b4858ca4..d93e0d44f 100644 --- a/src/util/os_priority.c +++ b/src/util/os_priority.c | |||
@@ -346,7 +346,7 @@ start_process (int pipe_control, | |||
346 | struct GNUNET_DISK_PipeHandle *pipe_stdin, | 346 | struct GNUNET_DISK_PipeHandle *pipe_stdin, |
347 | struct GNUNET_DISK_PipeHandle *pipe_stdout, | 347 | struct GNUNET_DISK_PipeHandle *pipe_stdout, |
348 | struct GNUNET_DISK_PipeHandle *pipe_stderr, | 348 | struct GNUNET_DISK_PipeHandle *pipe_stderr, |
349 | const SOCKTYPE *lsocks, | 349 | const int *lsocks, |
350 | const char *filename, | 350 | const char *filename, |
351 | char *const argv[]) | 351 | char *const argv[]) |
352 | { | 352 | { |
@@ -725,7 +725,7 @@ GNUNET_OS_start_process (int pipe_control, | |||
725 | struct GNUNET_OS_Process * | 725 | struct GNUNET_OS_Process * |
726 | GNUNET_OS_start_process_v (int pipe_control, | 726 | GNUNET_OS_start_process_v (int pipe_control, |
727 | enum GNUNET_OS_InheritStdioFlags std_inheritance, | 727 | enum GNUNET_OS_InheritStdioFlags std_inheritance, |
728 | const SOCKTYPE *lsocks, | 728 | const int *lsocks, |
729 | const char *filename, | 729 | const char *filename, |
730 | char *const argv[]) | 730 | char *const argv[]) |
731 | { | 731 | { |
@@ -761,7 +761,7 @@ GNUNET_OS_start_process_v (int pipe_control, | |||
761 | struct GNUNET_OS_Process * | 761 | struct GNUNET_OS_Process * |
762 | GNUNET_OS_start_process_s (int pipe_control, | 762 | GNUNET_OS_start_process_s (int pipe_control, |
763 | unsigned int std_inheritance, | 763 | unsigned int std_inheritance, |
764 | const SOCKTYPE *lsocks, | 764 | const int *lsocks, |
765 | const char *filename, | 765 | const char *filename, |
766 | ...) | 766 | ...) |
767 | { | 767 | { |