source: mainline/uspace/lib/c/include/rtld/rtld_debug.h@ 9bfa8c8

Last change on this file since 9bfa8c8 was d7f7a4a, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 3 years ago

Replace some license headers with SPDX identifier

Headers are replaced using tools/transorm-copyright.sh only
when it can be matched verbatim with the license header used
throughout most of the codebase.

  • Property mode set to 100644
File size: 464 bytes
Line 
1/*
2 * SPDX-FileCopyrightText: 2011 Jiri Svoboda
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7/** @addtogroup libc
8 * @{
9 */
10/** @file
11 */
12
13#ifndef _LIBC_RTLD_RTLD_DEBUG_H_
14#define _LIBC_RTLD_RTLD_DEBUG_H_
15
16#include <stdio.h>
17
18/* Define to enable debugging mode. */
19#undef RTLD_DEBUG
20
21#ifdef RTLD_DEBUG
22#define DPRINTF(format, ...) printf(format, ##__VA_ARGS__)
23#else
24#define DPRINTF(format, ...) if (0) printf(format, ##__VA_ARGS__)
25#endif
26
27#endif
28
29/** @}
30 */
Note: See TracBrowser for help on using the repository browser.