summaryrefslogtreecommitdiff
path: root/zephyr/test/uart_printf/include/printf.h
blob: b6fcf6337d66741ea629714b867b246723350b9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* Copyright 2022 The ChromiumOS Authors
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef ZEPHYR_TEST_UART_PRINTF_INCLUDE_PRINTF_H_
#define ZEPHYR_TEST_UART_PRINTF_INCLUDE_PRINTF_H_

#include <zephyr/fff.h>

#ifdef __cplusplus
extern "C" {
#endif

typedef int (*vfnprintf_addchar_t)(void *, int);
DECLARE_FAKE_VALUE_FUNC(int, vfnprintf, vfnprintf_addchar_t, void *,
			const char *, va_list);

#ifdef __cplusplus
}
#endif

#endif /* ZEPHYR_TEST_UART_PRINTF_INCLUDE_PRINTF_H_ */