lint fixes
[unix-history] / usr / src / usr.bin / pascal / libpc / CATCHERR.c
CommitLineData
52f6f544
KM
1/* Copyright (c) 1979 Regents of the University of California */
2
3static char sccsid[] = "@(#)CATCHERR.c 1.1 %G%";
4
5#include "h00vars.h"
6
7CATCHERR(err, todo)
8 long err; /* error to be caught */
9 struct formalrtn todo; /* procedure to call to catch error */
10{
11 if (todo.cbn == 1)
12 _entry[err].entryaddr = todo.entryaddr;
13 else
14 fputs("procedure not at level 1", stderr);
15}