aboutsummaryrefslogtreecommitdiff
path: root/src/compat/glibc_sanity.cpp
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@bitpay.com>2014-06-21 16:29:12 -0400
committerJeff Garzik <jgarzik@bitpay.com>2014-06-21 16:29:12 -0400
commitb4ccf0a5c78fd5479d5b2bbf289b6f6c5d8a70a3 (patch)
treec6452beb949a27f4f566c2f605ca94440be0dd51 /src/compat/glibc_sanity.cpp
parent540ce6aa10996661a62853797538d2a703664ea2 (diff)
parentfc0c07eb64f4bc22377c35d13c71de9e2ede8861 (diff)
downloadbitcoin-b4ccf0a5c78fd5479d5b2bbf289b6f6c5d8a70a3.tar.xz
Merge pull request #4379 from Diapolo/cleanup_compat
small cleanup in src/compat .h and .cpp
Diffstat (limited to 'src/compat/glibc_sanity.cpp')
-rw-r--r--src/compat/glibc_sanity.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/compat/glibc_sanity.cpp b/src/compat/glibc_sanity.cpp
index 1f64df9e33..6e5bae8a48 100644
--- a/src/compat/glibc_sanity.cpp
+++ b/src/compat/glibc_sanity.cpp
@@ -1,4 +1,10 @@
+// Copyright (c) 2009-2014 The Bitcoin developers
+// Distributed under the MIT/X11 software license, see the accompanying
+// file COPYING or http://www.opensource.org/licenses/mit-license.php.
+
+#if defined(HAVE_CONFIG_H)
#include "bitcoin-config.h"
+#endif
#include <cstddef>
#if defined(HAVE_SYS_SELECT_H)
@@ -8,7 +14,7 @@
extern "C" void* memcpy(void* a, const void* b, size_t c);
void* memcpy_int(void* a, const void* b, size_t c)
{
- return memcpy(a,b,c);
+ return memcpy(a,b,c);
}
namespace {