aboutsummaryrefslogtreecommitdiff
path: root/src/lib/malloc
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-09-16 13:27:42 -0400
committerNick Mathewson <nickm@torproject.org>2019-09-16 13:27:42 -0400
commit68a0106bf32988e1e085bbeaf843d3525e154c95 (patch)
treecbd505e5303a06a3369772be570fd5592bade03d /src/lib/malloc
parent7cd68b04def1c0256b98248d18680e4e4ed92071 (diff)
downloadtor-68a0106bf32988e1e085bbeaf843d3525e154c95.tar.gz
tor-68a0106bf32988e1e085bbeaf843d3525e154c95.zip
Run "make autostyle" and fix wide lines.
Diffstat (limited to 'src/lib/malloc')
-rw-r--r--src/lib/malloc/map_anon.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/malloc/map_anon.c b/src/lib/malloc/map_anon.c
index ae4edff769..22190070b0 100644
--- a/src/lib/malloc/map_anon.c
+++ b/src/lib/malloc/map_anon.c
@@ -122,7 +122,7 @@ nodump_mem(void *mem, size_t sz)
NULL);
return -1;
}
-#else
+#else /* !(defined(MADV_DONTDUMP)) */
(void) mem;
(void) sz;
return 0;
@@ -170,12 +170,12 @@ noinherit_mem(void *mem, size_t sz, inherit_res_t *inherit_result_out)
NULL);
return -1;
}
-#else
+#else /* !(defined(FLAG_ZERO) || defined(FLAG_NOINHERIT)) */
(void)inherit_result_out;
(void)mem;
(void)sz;
return 0;
-#endif
+#endif /* defined(FLAG_ZERO) || defined(FLAG_NOINHERIT) */
}
/**