genode/repos/libports/src/lib/libc/libc_debug.h
Norman Feske ca971bbfd8 Move repositories to 'repos/' subdirectory
This patch changes the top-level directory layout as a preparatory
step for improving the tools for managing 3rd-party source codes.
The rationale is described in the issue referenced below.

Issue #1082
2014-05-14 16:08:00 +02:00

36 lines
645 B
C

/*
* \brief Debugging hooks
* \author Norman Feske
* \date 2009-05-26
*/
/*
* Copyright (C) 2009-2013 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
#ifndef _LIBC_DEBUG_H_
#define _LIBC_DEBUG_H_
#define LIBC_DEBUG 0
#if (LIBC_DEBUG == 1)
/*
* This function is implemented in base-linux (env lib)
*/
extern "C" int raw_write_str(const char *s);
#else
/*
* Discard external references to 'raw_write_str'
*/
static inline int raw_write_str(const char *s) { }
#endif /* LIBC_DEBUG == 1 */
#endif /* _LIBC_DEBUG_H_ */