summaryrefslogtreecommitdiff
path: root/src/common/compat.h
diff options
context:
space:
mode:
authorOla Bini <ola@olabini.se>2015-09-15 17:27:51 +0200
committerOla Bini <ola@olabini.se>2016-01-13 10:31:13 -0500
commit5edd431d923828bb7e3e021fe5e31a3cffdbb055 (patch)
tree69c9c2d9c58524d4ef8e7a37734f07e2cec370bf /src/common/compat.h
parentd062baac86c824f8a3ddfead3a8c88b3f87068c1 (diff)
downloadtor-5edd431d923828bb7e3e021fe5e31a3cffdbb055.tar.gz
tor-5edd431d923828bb7e3e021fe5e31a3cffdbb055.zip
Add tests for options_act
Diffstat (limited to 'src/common/compat.h')
-rw-r--r--src/common/compat.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/common/compat.h b/src/common/compat.h
index d38adca598..0717ed34f2 100644
--- a/src/common/compat.h
+++ b/src/common/compat.h
@@ -601,7 +601,7 @@ typedef enum {
} socks5_reply_status_t;
/* ===== OS compatibility */
-const char *get_uname(void);
+MOCK_DECL(const char *, get_uname, (void));
uint16_t get_uint16(const void *cp) ATTR_NONNULL((1));
uint32_t get_uint32(const void *cp) ATTR_NONNULL((1));
@@ -708,4 +708,3 @@ ssize_t tor_getpass(const char *prompt, char *output, size_t buflen);
#include "compat_threads.h"
#endif
-