mirror of https://github.com/YosysHQ/yosys.git
libs/fst: Fix filename references
This commit is contained in:
parent
2edb9397c3
commit
c4a0845207
|
@ -11,3 +11,6 @@ for src in *.c; do
|
||||||
mv -- "$src" "${src%.c}.cc"
|
mv -- "$src" "${src%.c}.cc"
|
||||||
done
|
done
|
||||||
mv config.h.bak config.h
|
mv config.h.bak config.h
|
||||||
|
|
||||||
|
sed -i -e 's,<config.h>,"config.h",' *.cc *.h
|
||||||
|
sed -i -e 's,"fastlz.c","fastlz.cc",' *.cc *.h
|
||||||
|
|
|
@ -108,7 +108,7 @@ int fastlz_decompress(const void* input, int length, void* output, int maxout);
|
||||||
#define FASTLZ_DECOMPRESSOR fastlz1_decompress
|
#define FASTLZ_DECOMPRESSOR fastlz1_decompress
|
||||||
static FASTLZ_INLINE int FASTLZ_COMPRESSOR(const void* input, int length, void* output);
|
static FASTLZ_INLINE int FASTLZ_COMPRESSOR(const void* input, int length, void* output);
|
||||||
static FASTLZ_INLINE int FASTLZ_DECOMPRESSOR(const void* input, int length, void* output, int maxout);
|
static FASTLZ_INLINE int FASTLZ_DECOMPRESSOR(const void* input, int length, void* output, int maxout);
|
||||||
#include "fastlz.c"
|
#include "fastlz.cc"
|
||||||
|
|
||||||
#undef FASTLZ_LEVEL
|
#undef FASTLZ_LEVEL
|
||||||
#define FASTLZ_LEVEL 2
|
#define FASTLZ_LEVEL 2
|
||||||
|
@ -123,7 +123,7 @@ static FASTLZ_INLINE int FASTLZ_DECOMPRESSOR(const void* input, int length, void
|
||||||
#define FASTLZ_DECOMPRESSOR fastlz2_decompress
|
#define FASTLZ_DECOMPRESSOR fastlz2_decompress
|
||||||
static FASTLZ_INLINE int FASTLZ_COMPRESSOR(const void* input, int length, void* output);
|
static FASTLZ_INLINE int FASTLZ_COMPRESSOR(const void* input, int length, void* output);
|
||||||
static FASTLZ_INLINE int FASTLZ_DECOMPRESSOR(const void* input, int length, void* output, int maxout);
|
static FASTLZ_INLINE int FASTLZ_DECOMPRESSOR(const void* input, int length, void* output, int maxout);
|
||||||
#include "fastlz.c"
|
#include "fastlz.cc"
|
||||||
|
|
||||||
int fastlz_compress(const void* input, int length, void* output)
|
int fastlz_compress(const void* input, int length, void* output)
|
||||||
{
|
{
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef FST_CONFIG_INCLUDE
|
#ifndef FST_CONFIG_INCLUDE
|
||||||
# define FST_CONFIG_INCLUDE <config.h>
|
# define FST_CONFIG_INCLUDE "config.h"
|
||||||
#endif
|
#endif
|
||||||
#include FST_CONFIG_INCLUDE
|
#include FST_CONFIG_INCLUDE
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue