2024-10-10

This commit is contained in:
2024-10-10 12:56:56 +08:00
commit 7b347c848a
2648 changed files with 643965 additions and 0 deletions

27
core/sim/sim_3_01/sim.h Executable file
View File

@@ -0,0 +1,27 @@
/* This file is part of the software similarity tester SIM.
Written by Dick Grune, Vrije Universiteit, Amsterdam.
$Id: sim.h,v 2.22 2016-05-29 15:23:16 dick Exp $
*/
#include <stdio.h>
extern const char *Version;
extern int Min_Run_Size;
extern int Page_Width;
extern FILE *Output_File;
extern FILE *Debug_File;
extern const char *Token_Name; /* possibly modified in *lang.l */
extern int Threshold_Percentage;
/* Service routines */
extern int is_new_old_separator(const char *s);
extern const char *size_t2string(size_t s);
extern void fatal(const char *msg);
/* All output goes through designated files, so we block printf, etc. */
#undef printf
#define printf use_fprintf
#undef putchar
#define putchar use_fprintf