summaryrefslogtreecommitdiff
path: root/src/common/compat.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-11-24 23:45:47 -0500
committerNick Mathewson <nickm@torproject.org>2011-11-24 23:45:47 -0500
commiteaa3a379f0ba15e488054a686b1eb838ebbf7cc5 (patch)
tree03914a9cd3d085b176ea7d2e715e99ad5d6dc87a /src/common/compat.h
parent3508de3cd692b8e9567fd9ab64f88ace28e91ef2 (diff)
downloadtor-eaa3a379f0ba15e488054a686b1eb838ebbf7cc5.tar.gz
tor-eaa3a379f0ba15e488054a686b1eb838ebbf7cc5.zip
Move disable-debugger-attachment fn to compat where it belongs. Fix whitespace
Diffstat (limited to 'src/common/compat.h')
-rw-r--r--src/common/compat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/compat.h b/src/common/compat.h
index b005dd2974..f73e433f0e 100644
--- a/src/common/compat.h
+++ b/src/common/compat.h
@@ -566,6 +566,7 @@ set_uint8(void *cp, uint8_t v)
typedef unsigned long rlim_t;
#endif
int set_max_file_descriptors(rlim_t limit, int *max);
+int tor_disable_debugger_attach(void);
int switch_id(const char *user);
#ifdef HAVE_PWD_H
char *get_user_homedir(const char *username);