* Move "restrict" fallback to common.h
authorFalk Hüffner <mellum@users.sourceforge.net>
Thu, 4 Jul 2002 13:41:27 +0000 (13:41 +0000)
committerFalk Hüffner <mellum@users.sourceforge.net>
Thu, 4 Jul 2002 13:41:27 +0000 (13:41 +0000)
* Don't include config.h in dsputil.c

Originally committed as revision 721 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/common.h
libavcodec/dsputil.c

index fe97d4c..9f2102a 100644 (file)
 
 #endif /* HAVE_AV_CONFIG_H */
 
+/* Suppress restrict if it was not defined in config.h.  */
+#ifndef restrict
+#define restrict
+#endif
+
 #ifdef CONFIG_WIN32
 
 /* windows */
index c1e9fee..e1a4e9c 100644 (file)
 #include "avcodec.h"
 #include "dsputil.h"
 #include "simple_idct.h"
-#include "config.h"
-
-/* Suppress restrict if it was not defined in config.h  */
-#ifndef restrict
-#define restrict
-#endif
 
 void (*ff_idct)(DCTELEM *block);
 void (*ff_idct_put)(UINT8 *dest, int line_size, DCTELEM *block);