mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
os: xprintf: fix includes
It's better coding style to include the header with prototypes for our own functions directly, instead of relying on it being included indirectly. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
@@ -59,12 +59,14 @@
|
||||
#include <dix-config.h>
|
||||
|
||||
#include <X11/Xos.h>
|
||||
#include "os.h"
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "include/os.h"
|
||||
#include "include/Xprintf.h"
|
||||
|
||||
/**
|
||||
* Varargs sprintf that allocates a string buffer the right size for
|
||||
* the pattern & data provided and prints the requested data to it.
|
||||
|
||||
Reference in New Issue
Block a user