aboutsummaryrefslogtreecommitdiff
path: root/src/compat/glibc_compat.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2014-09-26 19:26:09 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2014-09-26 19:31:18 +0200
commitc2db599c1f1ad2d61b8176a2256a80109b0ac8b9 (patch)
tree74bfd745a7b148f1fe76c4a77e024be409412fb7 /src/compat/glibc_compat.cpp
parent4b2b78b9f2bd339cc4505996258e00c186e91792 (diff)
parentcf42c36e9963f9cf13704d8d74a9546f0db33d40 (diff)
Merge pull request #4977
cf42c36 Apply clang-format on crypto/* and compat/* (Pieter Wuille)
Diffstat (limited to 'src/compat/glibc_compat.cpp')
-rw-r--r--src/compat/glibc_compat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compat/glibc_compat.cpp b/src/compat/glibc_compat.cpp
index 22f82e4259..94c79e4b97 100644
--- a/src/compat/glibc_compat.cpp
+++ b/src/compat/glibc_compat.cpp
@@ -18,11 +18,11 @@ extern "C" void* memcpy(void* a, const void* b, size_t c)
return memmove(a, b, c);
}
-extern "C" void __chk_fail (void) __attribute__((__noreturn__));
+extern "C" void __chk_fail(void) __attribute__((__noreturn__));
extern "C" FDELT_TYPE __fdelt_warn(FDELT_TYPE a)
{
if (a >= FD_SETSIZE)
- __chk_fail ();
+ __chk_fail();
return a / __NFDBITS;
}
extern "C" FDELT_TYPE __fdelt_chk(FDELT_TYPE) __attribute__((weak, alias("__fdelt_warn")));