diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-06-05 09:33:35 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-06-05 09:33:35 -0400 |
commit | 60213a3621c5fa354fd7b3f3feb1a2a336d5c9ce (patch) | |
tree | 18ac4ae7f6e06b1b52d66175dc449ad08d5c68aa /src/feature/api | |
parent | d1b02456c107256ee562b36b0ef2f5544eb27cee (diff) | |
download | tor-60213a3621c5fa354fd7b3f3feb1a2a336d5c9ce.tar.gz tor-60213a3621c5fa354fd7b3f3feb1a2a336d5c9ce.zip |
Run "make autostyle."
Diffstat (limited to 'src/feature/api')
-rw-r--r-- | src/feature/api/tor_api.c | 4 | ||||
-rw-r--r-- | src/feature/api/tor_api.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/feature/api/tor_api.c b/src/feature/api/tor_api.c index 697397d46b..fd9d241353 100644 --- a/src/feature/api/tor_api.c +++ b/src/feature/api/tor_api.c @@ -40,10 +40,10 @@ #define raw_socketpair tor_ersatz_socketpair #define raw_closesocket closesocket #define snprintf _snprintf -#else +#else /* !(defined(_WIN32)) */ #define raw_socketpair socketpair #define raw_closesocket close -#endif +#endif /* defined(_WIN32) */ #ifdef HAVE_UNISTD_H #include <unistd.h> diff --git a/src/feature/api/tor_api.h b/src/feature/api/tor_api.h index 2bf130c376..cb84853a52 100644 --- a/src/feature/api/tor_api.h +++ b/src/feature/api/tor_api.h @@ -55,7 +55,7 @@ typedef SOCKET tor_control_socket_t; #else typedef int tor_control_socket_t; #define INVALID_TOR_CONTROL_SOCKET (-1) -#endif +#endif /* defined(_WIN32) */ /** DOCDOC */ tor_control_socket_t tor_main_configuration_setup_control_socket( |