diff options
Diffstat (limited to 'xorg-server/hw/xfree86/dummylib/logvwrite.c')
-rw-r--r-- | xorg-server/hw/xfree86/dummylib/logvwrite.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/xorg-server/hw/xfree86/dummylib/logvwrite.c b/xorg-server/hw/xfree86/dummylib/logvwrite.c new file mode 100644 index 000000000..26868e7c8 --- /dev/null +++ b/xorg-server/hw/xfree86/dummylib/logvwrite.c @@ -0,0 +1,21 @@ + +#ifdef HAVE_XORG_CONFIG_H +#include <xorg-config.h> +#endif + +#include <X11/X.h> +#include "os.h" +#include "xf86.h" +#include "xf86Priv.h" + +/* + * Utility functions required by libxf86_os. + */ + +_X_EXPORT void +LogVWrite(int verb, const char *format, va_list ap) +{ + if (xf86Verbose >= verb) + vfprintf(stderr, format, ap); +} + |