aboutsummaryrefslogtreecommitdiff
path: root/src/lib/malloc
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-10-09 09:37:21 -0400
committerNick Mathewson <nickm@torproject.org>2019-10-22 09:24:25 -0400
commit9871fcbcd9e2c729c46570d6794d3ddcf37aeeb6 (patch)
treefc1ce3bda8a46cefd02dc08f6619ba83837102ab /src/lib/malloc
parent51c2097586dd6133a862985ab68ded85736d40e8 (diff)
downloadtor-9871fcbcd9e2c729c46570d6794d3ddcf37aeeb6.tar.gz
tor-9871fcbcd9e2c729c46570d6794d3ddcf37aeeb6.zip
Use #warning instead of #warn: one is C and one isn't.
Diffstat (limited to 'src/lib/malloc')
-rw-r--r--src/lib/malloc/map_anon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/malloc/map_anon.c b/src/lib/malloc/map_anon.c
index 0f6a4150c7..4e38cb642c 100644
--- a/src/lib/malloc/map_anon.c
+++ b/src/lib/malloc/map_anon.c
@@ -75,8 +75,8 @@
#endif /* defined(HAVE_MINHERIT) || ... */
#if defined(HAVE_MINHERIT) && !defined(FLAG_ZERO) && !defined(FLAG_NOINHERIT)
-#warn "minherit() is defined, but we couldn't find the right flag for it."
-#warn "This is probably a bug in Tor's support for this platform."
+#warning "minherit() is defined, but we couldn't find the right flag for it."
+#warning "This is probably a bug in Tor's support for this platform."
#endif
/**