Make definition of _vorbis_window_get() match declaration.
authorTim Terriberry <tterribe@xiph.org>
Mon, 2 Dec 2013 23:23:39 +0000 (23:23 +0000)
committerTim Terriberry <tterribe@xiph.org>
Mon, 2 Dec 2013 23:23:39 +0000 (23:23 +0000)
window.c wasn't actually including window.h, or this would have been
 noticed earlier.

svn path=/trunk/vorbis/; revision=19028

lib/window.c
lib/window.h

index 56299c4..7dfb1cf 100644 (file)
@@ -19,6 +19,7 @@
 #include <math.h>
 #include "os.h"
 #include "misc.h"
+#include "window.h"
 
 static const float vwin64[32] = {
   0.0009460463F, 0.0085006468F, 0.0235352254F, 0.0458950567F,
index a13baba..934ed33 100644 (file)
@@ -18,7 +18,7 @@
 #ifndef _V_WINDOW_
 #define _V_WINDOW_
 
-extern float *_vorbis_window_get(int n);
+extern const float *_vorbis_window_get(int n);
 extern void _vorbis_apply_window(float *d,int *winno,long *blocksizes,
                           int lW,int W,int nW);