aboutsummaryrefslogtreecommitdiff
path: root/src/common/util_process.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-06-02 09:09:37 -0400
committerNick Mathewson <nickm@torproject.org>2016-06-11 10:11:54 -0400
commit80f1a2cbbdd0abd509711a5069f31855df5bcd79 (patch)
tree0500eb46d12dd6cf70d1a48e1c6206cb738a9bd7 /src/common/util_process.c
parentc3adbf755b0bb6f77488a268dbc4f2bdc0e59b01 (diff)
downloadtor-80f1a2cbbdd0abd509711a5069f31855df5bcd79.tar.gz
tor-80f1a2cbbdd0abd509711a5069f31855df5bcd79.zip
Add the -Wextra-semi warning from clang, and fix the cases where it triggers
Diffstat (limited to 'src/common/util_process.c')
-rw-r--r--src/common/util_process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/util_process.c b/src/common/util_process.c
index 848b238318..abda63720c 100644
--- a/src/common/util_process.c
+++ b/src/common/util_process.c
@@ -61,9 +61,9 @@ process_map_entries_eq_(const waitpid_callback_t *a,
static HT_HEAD(process_map, waitpid_callback_t) process_map = HT_INITIALIZER();
HT_PROTOTYPE(process_map, waitpid_callback_t, node, process_map_entry_hash_,
- process_map_entries_eq_);
+ process_map_entries_eq_)
HT_GENERATE2(process_map, waitpid_callback_t, node, process_map_entry_hash_,
- process_map_entries_eq_, 0.6, tor_reallocarray_, tor_free_);
+ process_map_entries_eq_, 0.6, tor_reallocarray_, tor_free_)
/**
* Begin monitoring the child pid <b>pid</b> to see if we get a SIGCHLD for