summaryrefslogtreecommitdiff
path: root/fonts/utilities/ps2mf/myerror.c
blob: c6855658b08994aa4034378640b847d2be314d32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* myerror.c */

#include <stdio.h>
#ifndef AIX
#   include <stdlib.h>
#endif
#include "defines.h"
#include "myerror.h"

#ifdef __STDC__
void error (char * s)
#else
void error (s)
char * s;
#endif
{
	fprintf (stderr, "\n%s\n", s);
	if (* s == '!') exit (UNSUCCESSFUL);
}