# HG changeset patch # User mellum # Date 1025790087 0 # Node ID 389e30fe726914a38a6dc88672c4c4d9cc0a8be9 # Parent 0cb7ab35ccb268f70428d75680d002c5a56484aa * Move "restrict" fallback to common.h * Don't include config.h in dsputil.c diff -r 0cb7ab35ccb2 -r 389e30fe7269 common.h --- a/common.h Thu Jul 04 01:47:32 2002 +0000 +++ b/common.h Thu Jul 04 13:41:27 2002 +0000 @@ -35,6 +35,11 @@ #endif /* HAVE_AV_CONFIG_H */ +/* Suppress restrict if it was not defined in config.h. */ +#ifndef restrict +#define restrict +#endif + #ifdef CONFIG_WIN32 /* windows */ diff -r 0cb7ab35ccb2 -r 389e30fe7269 dsputil.c --- a/dsputil.c Thu Jul 04 01:47:32 2002 +0000 +++ b/dsputil.c Thu Jul 04 13:41:27 2002 +0000 @@ -21,12 +21,6 @@ #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);