aboutsummaryrefslogtreecommitdiff
path: root/include/qemu/fprintf-fn.h
blob: 9ddc90f1c59ba3ac2cae030df9bda46ec07487aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * Typedef for fprintf-alike function pointers.
 *
 * This work is licensed under the terms of the GNU GPL, version 2 or later.
 * See the COPYING file in the top-level directory.
 */

#ifndef QEMU_FPRINTF_FN_H
#define QEMU_FPRINTF_FN_H 1

#include "qemu/compiler.h"
#include <stdio.h>

typedef int (*fprintf_function)(FILE *f, const char *fmt, ...)
    GCC_FMT_ATTR(2, 3);

#endif