removed possible C89 compilation issue
This commit is contained in:
parent
1c20931896
commit
f7f1408088
|
@ -110,8 +110,8 @@ struct _psl_ctx_st {
|
||||||
# include "suffixes.c"
|
# include "suffixes.c"
|
||||||
#else
|
#else
|
||||||
/* if this source file is included by psl2c.c, provide empty builtin data */
|
/* if this source file is included by psl2c.c, provide empty builtin data */
|
||||||
static _psl_entry_t suffixes[0];
|
static _psl_entry_t suffixes[1];
|
||||||
static _psl_entry_t suffix_exceptions[0];
|
static _psl_entry_t suffix_exceptions[1];
|
||||||
static time_t _psl_file_time;
|
static time_t _psl_file_time;
|
||||||
static time_t _psl_compile_time;
|
static time_t _psl_compile_time;
|
||||||
static const char _psl_sha1_checksum[] = "";
|
static const char _psl_sha1_checksum[] = "";
|
||||||
|
|
|
@ -28,8 +28,6 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#if HAVE_CONFIG_H
|
#if HAVE_CONFIG_H
|
||||||
# include <config.h>
|
# include <config.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -182,8 +180,8 @@ int main(int argc, const char **argv)
|
||||||
psl_free(psl);
|
psl_free(psl);
|
||||||
#else
|
#else
|
||||||
if ((fpout = fopen(argv[2], "w"))) {
|
if ((fpout = fopen(argv[2], "w"))) {
|
||||||
fprintf(fpout, "static _psl_entry_t suffixes[0];\n");
|
fprintf(fpout, "static _psl_entry_t suffixes[1];\n");
|
||||||
fprintf(fpout, "static _psl_entry_t suffix_exceptions[0];\n");
|
fprintf(fpout, "static _psl_entry_t suffix_exceptions[1];\n");
|
||||||
fprintf(fpout, "static time_t _psl_file_time;\n");
|
fprintf(fpout, "static time_t _psl_file_time;\n");
|
||||||
fprintf(fpout, "static time_t _psl_compile_time;\n");
|
fprintf(fpout, "static time_t _psl_compile_time;\n");
|
||||||
fprintf(fpout, "static const char _psl_sha1_checksum[] = \"\";\n");
|
fprintf(fpout, "static const char _psl_sha1_checksum[] = \"\";\n");
|
||||||
|
|
Loading…
Reference in New Issue