blob: d34a18c9bac2e556df17f26b1d611139ff7bb69d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/* Copyright 2015 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef __EC_CHIP_G_LOADER_DEBUG_PRINTF_H
#define __EC_CHIP_G_LOADER_DEBUG_PRINTF_H
__attribute__((__format__(__printf__, 1, 2)))
void debug_printf(const char *format, ...);
#ifdef DEBUG
#define VERBOSE debug_printf
#else
#define VERBOSE(...)
#endif
#endif /* __EC_CHIP_G_LOADER_DEBUG_PRINTF_H */
|