File: error.c

package info (click to toggle)
isomaster 1.3.9-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,024 kB
  • ctags: 844
  • sloc: ansic: 11,224; makefile: 235; sh: 109; python: 11
file content (30 lines) | stat: -rw-r--r-- 882 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/******************************* LICENCE **************************************
* Any code in this file may be redistributed or modified under the terms of
* the GNU General Public Licence as published by the Free Software 
* Foundation; version 2 of the licence.
****************************** END LICENCE ***********************************/

/******************************************************************************
* Author:
* Andrew Smith, http://littlesvr.ca/misc/contactandrew.php
*
* Contributors:
* 
******************************************************************************/

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

#include "isomaster.h"

void fatalError(const char* msg)
{
    fprintf(stderr, "ISO Master fatal error: %s\n", msg);
    exit(1);
}

void printWarning(const char* msg)
{
    fprintf(stderr, "ISO Master warning: %s\n", msg);
}