summaryrefslogtreecommitdiff
path: root/include/linux/thread_with_file.h
blob: 2a66e7622c45df57e43c787d84173dd976f36220 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * (C) 2022-2024 Kent Overstreet <kent.overstreet@linux.dev>
 */
#ifndef _LINUX_THREAD_WITH_FILE_H
#define _LINUX_THREAD_WITH_FILE_H

struct stdio_redirect;

__printf(3, 0)
static inline void stdio_redirect_vprintf(struct stdio_redirect *s, bool nonblocking, const char *msg, va_list args) {}
__printf(3, 4)
static inline void stdio_redirect_printf(struct stdio_redirect *s, bool nonblocking, const char *msg, ...) {}

#endif /* _LINUX_THREAD_WITH_FILE_H */