summaryrefslogtreecommitdiff
path: root/src/common/compat.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-07-16 11:10:14 -0400
committerNick Mathewson <nickm@torproject.org>2015-07-16 11:10:14 -0400
commitb5cfcb2045262a3ce9485c4d5a0c91b89174e539 (patch)
tree9c4fb362b6b08f4acb5377e5fc4dd5ac53acf4d5 /src/common/compat.c
parent8cb50703761affb496f2035768e0f024d9263938 (diff)
downloadtor-b5cfcb2045262a3ce9485c4d5a0c91b89174e539.tar.gz
tor-b5cfcb2045262a3ce9485c4d5a0c91b89174e539.zip
Fix most check-spaces issues
Diffstat (limited to 'src/common/compat.c')
-rw-r--r--src/common/compat.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/compat.c b/src/common/compat.c
index 07f011d63d..4930c05c2a 100644
--- a/src/common/compat.c
+++ b/src/common/compat.c
@@ -80,7 +80,8 @@ wint_t _getwch(void);
#define WEOF (wchar_t)(0xFFFF)
#endif
#if defined(HAVE_DECL_SECUREZEROMEMORY) && !HAVE_DECL_SECUREZEROMEMORY
-static inline void SecureZeroMemory(PVOID ptr, SIZE_T cnt)
+static inline void
+SecureZeroMemory(PVOID ptr, SIZE_T cnt)
{
volatile char *vcptr = (volatile char*)ptr;
while (cnt--)
@@ -3378,3 +3379,4 @@ tor_getpass(const char *prompt, char *output, size_t buflen)
#error "No implementation for tor_getpass found!"
#endif
}
+