summaryrefslogtreecommitdiff
path: root/src/common/compat.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-04-24 10:31:38 -0400
committerNick Mathewson <nickm@torproject.org>2014-04-24 10:31:38 -0400
commit67aa3685e7321322cbbc2bef7f87c9a885819af8 (patch)
tree46f3678112d650aea4f628b2dd4fe1d7c39c6be0 /src/common/compat.h
parentaa1ad30fc9c629eea44d715041f29e4838ff3175 (diff)
parente3af72647db51e99186b9f284066dedcdc8c10d6 (diff)
downloadtor-67aa3685e7321322cbbc2bef7f87c9a885819af8.tar.gz
tor-67aa3685e7321322cbbc2bef7f87c9a885819af8.zip
Merge branch 'bug11396_v2_squashed'
Conflicts: src/or/main.c
Diffstat (limited to 'src/common/compat.h')
-rw-r--r--src/common/compat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/compat.h b/src/common/compat.h
index 9a381fb97f..314b1aa001 100644
--- a/src/common/compat.h
+++ b/src/common/compat.h
@@ -638,6 +638,8 @@ char *make_path_absolute(char *fname);
char **get_environment(void);
+int get_total_system_memory(size_t *mem_out);
+
int spawn_func(void (*func)(void *), void *data);
void spawn_exit(void) ATTR_NORETURN;