xf86drmMode: remove unused valgrind(VG) macros
PATCH 1/2 xf86drmMode: remove unused valgrind(VG) macros
Signed-off-by Emil Velikov <[email protected]>
--- xf86drmMode.c | 8 -------- 1 file changed, 8 deletions(-)
xf86drmMode.c +0 -8
@@ -53,14 +53,6 @@#include <unistd.h> #include <errno.h> -#ifdef HAVE_VALGRIND -#include <valgrind.h> -#include <memcheck.h> -#define VG (x) x -#else -#define VG (x) -#endif -#define memclear (s) memset(&s, 0, sizeof(s))#define U642VOID (x) ((void *)(unsigned long)(x))
Signature · 6 lines
2.1.3 _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH 2/2 xf86drmMode: include config.h before anything else
Signed-off-by Emil Velikov <[email protected]>
--- xf86drmMode.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
xf86drmMode.c +4 -3
@@ -37,14 +37,15 @@* TODO the types we are after are defined in diffrent headers on diffrent * platforms find which headers to include to get uint32_t */ -#include <stdint.h> -#include <sys/ioctl.h> -#include <stdio.h> #ifdef HAVE_CONFIG_H #include "config.h" #endif +#include <stdint.h> +#include <sys/ioctl.h> +#include <stdio.h> +#include "xf86drmMode.h" #include "xf86drm.h" #include <drm.h>
Signature · 6 lines
2.1.3 _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel