[Libclc-dev] [PATCH] relational: Remove unnecessary undef of function names

Aaron Watry awatry at gmail.com
Sun Aug 3 11:09:03 PDT 2014


Signed-off-by: Aaron Watry <awatry at gmail.com>
---
 generic/include/clc/relational/isgreater.h      | 2 --
 generic/include/clc/relational/isgreaterequal.h | 2 --
 generic/include/clc/relational/isnotequal.h     | 2 --
 generic/include/clc/relational/signbit.h        | 2 --
 4 files changed, 8 deletions(-)

diff --git a/generic/include/clc/relational/isgreater.h b/generic/include/clc/relational/isgreater.h
index d17ae0c..ab5743b 100644
--- a/generic/include/clc/relational/isgreater.h
+++ b/generic/include/clc/relational/isgreater.h
@@ -1,5 +1,3 @@
-#undef isgreater
-
 #define __CLC_FUNCTION isgreater
 #define __CLC_BODY <clc/relational/binary_decl.inc>
 
diff --git a/generic/include/clc/relational/isgreaterequal.h b/generic/include/clc/relational/isgreaterequal.h
index 8353328..dae86ef 100644
--- a/generic/include/clc/relational/isgreaterequal.h
+++ b/generic/include/clc/relational/isgreaterequal.h
@@ -1,5 +1,3 @@
-#undef isgreaterequal
-
 #define __CLC_FUNCTION isgreaterequal
 #define __CLC_BODY <clc/relational/binary_decl.inc>
 
diff --git a/generic/include/clc/relational/isnotequal.h b/generic/include/clc/relational/isnotequal.h
index f2ceea2..c2774ce 100644
--- a/generic/include/clc/relational/isnotequal.h
+++ b/generic/include/clc/relational/isnotequal.h
@@ -1,5 +1,3 @@
-#undef isnotequal
-
 #define __CLC_FUNCTION isnotequal
 #define __CLC_BODY <clc/relational/binary_decl.inc>
 
diff --git a/generic/include/clc/relational/signbit.h b/generic/include/clc/relational/signbit.h
index 41e5284..c4eb1e4 100644
--- a/generic/include/clc/relational/signbit.h
+++ b/generic/include/clc/relational/signbit.h
@@ -1,5 +1,3 @@
-#undef signbit
-
 #define __CLC_FUNCTION signbit
 #define __CLC_BODY <clc/relational/unary_decl.inc>
 
-- 
1.9.1





More information about the Libclc-dev mailing list