diff --git a/libc/src/__support/FPUtil/generic/sqrt.h b/libc/src/__support/FPUtil/generic/sqrt.h --- a/libc/src/__support/FPUtil/generic/sqrt.h +++ b/libc/src/__support/FPUtil/generic/sqrt.h @@ -21,8 +21,6 @@ namespace internal { -template static inline int clz(T val); - template struct SpecialLongDouble { static constexpr bool VALUE = false; }; @@ -37,6 +35,7 @@ // __builtin_clz* rather than using the exactly-sized aliases from stdint.h. // This way, we can avoid making any assumptions about integer sizes and let the // compiler match for us. +template static inline int clz(T val); template <> inline int clz(unsigned int val) { return __builtin_clz(val); }