aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/dmx/dmx.h
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/hw/dmx/dmx.h')
-rw-r--r--xorg-server/hw/dmx/dmx.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/xorg-server/hw/dmx/dmx.h b/xorg-server/hw/dmx/dmx.h
index 05e5fabd1..6ebd00efd 100644
--- a/xorg-server/hw/dmx/dmx.h
+++ b/xorg-server/hw/dmx/dmx.h
@@ -341,21 +341,21 @@ do { \
#define _MAXSCREENSALLOCF(o,size,fatal) \
do { \
if (!o) { \
- o = xcalloc((size), sizeof(*(o))); \
+ o = calloc((size), sizeof(*(o))); \
if (!o && fatal) FatalError(MAXSCREEN_FAILED_TXT #o); \
} \
} while (0)
#define _MAXSCREENSALLOCR(o,size,retval) \
do { \
if (!o) { \
- o = xcalloc((size), sizeof(*(o))); \
+ o = calloc((size), sizeof(*(o))); \
if (!o) return retval; \
} \
} while (0)
#define MAXSCREENSFREE(o) \
do { \
- if (o) xfree(o); \
+ if (o) free(o); \
o = NULL; \
} while (0)