#include <stdio.h>

/*
 * XXX
 *
 * These are things that are used only for error handling in libpq, or are
 * not used but are extern'ed in c.h and thus cause links to fail.
 *
 */

RcsId ("$Header: RCS/pqstubs.c,v 1.3 90/07/21 02:09:11 kemnitz Exp $");

void ExceptionalCondition()
{
	fprintf(stderr, "ExceptionalCondition called!\n");
	exit(1);
}

void ExcRaise(arg1, string)

int arg1;
char *string;

{
	fprintf(stderr, "Error: %s\n", string);
	exit(1);
}

int FailedAssertion;

void elog()
{
	fprintf(stderr, "elog called!!\n");
	exit(1);
}
