summaryrefslogtreecommitdiff
path: root/src/or/eventdns.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-02-08 21:09:29 +0000
committerNick Mathewson <nickm@torproject.org>2008-02-08 21:09:29 +0000
commit729555e1ca49ff140ceb65c8e9c108eae82d7120 (patch)
treea6d912cc6eb97c2eec8516f845bb15ac7d548dc3 /src/or/eventdns.c
parentb8179871a6dd5e225f0fef26d12b1eb38e8a6da7 (diff)
downloadtor-729555e1ca49ff140ceb65c8e9c108eae82d7120.tar.gz
tor-729555e1ca49ff140ceb65c8e9c108eae82d7120.zip
r17967@catbus: nickm | 2008-02-07 11:44:51 -0500
Fix some warnings identified by building with -D_FORTIFY_SOURCE=2. Remove a redundant (and nuts) definition of _FORTIFY_SOURCE from eventdns.c. svn:r13424
Diffstat (limited to 'src/or/eventdns.c')
-rw-r--r--src/or/eventdns.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/or/eventdns.c b/src/or/eventdns.c
index 17f9e5de56..a80e019298 100644
--- a/src/or/eventdns.c
+++ b/src/or/eventdns.c
@@ -65,8 +65,6 @@
#include <openssl/rand.h>
#endif
-#define _FORTIFY_SOURCE 3
-
#include <string.h>
#ifdef HAVE_FCNTL_H
#include <fcntl.h>