logb: Use unary_decl instead of custom inc file
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-By: Aaron Watry <awatry@gmail.com>
llvm-svn: 317249
diff --git a/libclc/generic/include/clc/math/logb.h b/libclc/generic/include/clc/math/logb.h
index 8bdbdc3..2bae89f 100644
--- a/libclc/generic/include/clc/math/logb.h
+++ b/libclc/generic/include/clc/math/logb.h
@@ -1,2 +1,7 @@
-#define __CLC_BODY <clc/math/logb.inc>
+#define __CLC_BODY <clc/math/unary_decl.inc>
+#define __CLC_FUNCTION logb
+
#include <clc/math/gentype.inc>
+
+#undef __CLC_BODY
+#undef __CLC_FUNCTION