//===-- sanitizer_common_nolibc.cc ----------------------------------------===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file contains stubs for libc function to facilitate optional use of
// libc in no-libcdep sources.
//===----------------------------------------------------------------------===//

#include "sanitizer_platform.h"
#include "sanitizer_common.h"

namespace __sanitizer {

void WriteToSyslog(const char *buffer) {}

}

//===-- sanitizer_common_nolibc.cc ----------------------------------------===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file contains stubs for libc function to facilitate optional use of
// libc in no-libcdep sources.
//===----------------------------------------------------------------------===//

#include "sanitizer_platform.h"
#include "sanitizer_common.h"

namespace __sanitizer {

#if SANITIZER_LINUX
void WriteToSyslog(const char *buffer) {}
#endif

}

Fix double definition of a function.
[sanitizer] Fix double definition of a function.


git-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@243055 91177308-0d34-0410-b5e6-96231b3b80d8
