File: error.c

package info (click to toggle)
similarity-tester 2.77-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 572 kB
  • ctags: 512
  • sloc: ansic: 3,197; lex: 1,562; makefile: 301
file content (21 lines) | stat: -rw-r--r-- 434 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*	This file is part of the software similarity tester SIM.
	Written by Dick Grune, Vrije Universiteit, Amsterdam.
	$Id: error.c,v 2.6 2012-06-05 09:58:52 Gebruiker Exp $
*/

#include	<stdio.h>
#include	<stdlib.h>

#include	"sim.h"
#include	"error.h"

void
fatal(const char *msg) {
#ifdef	lint
	/* prevent non-use messages */
	min_run_string = 0;
	threshold_string = 0;
#endif
	fprintf(stderr, "%s: %s\n", progname, msg);
	exit(1);
}