Fix ocl::dft the compile warning on Linux
authoryao <bitwangyaoyao@gmail.com>
Tue, 26 Feb 2013 13:18:51 +0000 (21:18 +0800)
committeryao <bitwangyaoyao@gmail.com>
Tue, 26 Feb 2013 13:18:51 +0000 (21:18 +0800)
modules/ocl/src/fft.cpp

index 9ae0ee1f8aff1d27384772b443962f515bb1ddd1..aab2a040a795591fc41764abe10ceb6389491fcd 100644 (file)
@@ -55,8 +55,9 @@ void cv::ocl::dft(const oclMat&, oclMat&, Size, int)
     CV_Error(CV_StsNotImplemented, "OpenCL DFT is not implemented");
 }
 namespace cv { namespace ocl {
-    void fft_teardown(){}
+    void fft_teardown();
 }}
+void cv::ocl::fft_teardown(){}
 #else
 #include "clAmdFft.h"
 namespace cv