summaryrefslogtreecommitdiff
path: root/clients/nested.c
diff options
context:
space:
mode:
authorJon Cruz <jonc@osg.samsung.com>2015-06-15 15:37:09 -0700
committerBryce Harrington <bryce@osg.samsung.com>2015-06-15 17:11:52 -0700
commitd618f688d53e1df0ac31a275ae8541dc56f283ed (patch)
tree2491eabcb4e57b4a3e9604b2b09458f36e2255f8 /clients/nested.c
parent35b2eaa989e4960501943c0753e2d5a3e687db92 (diff)
downloadweston-d618f688d53e1df0ac31a275ae8541dc56f283ed.tar.gz
Moved the MIN() macro to the helper include.
Removed multiple definitions of the MIN() macro from existing locations and unified with a single definition. Updated sources to use the shared version. Signed-off-by: Jon A. Cruz <jonc@osg.samsung.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
Diffstat (limited to 'clients/nested.c')
-rw-r--r--clients/nested.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/clients/nested.c b/clients/nested.c
index f758fdc2..e78f08c3 100644
--- a/clients/nested.c
+++ b/clients/nested.c
@@ -49,8 +49,6 @@
#include "shared/helpers.h"
#include "window.h"
-#define MIN(x,y) (((x) < (y)) ? (x) : (y))
-
#ifndef EGL_WL_create_wayland_buffer_from_image
#define EGL_WL_create_wayland_buffer_from_image 1