| # | Line 9 | Line 9 | static const char RCSid[] = "$Id$"; | |
|---|---|---|
| 9 | ||
| 10 | #include "copyright.h" | |
| 11 | ||
| 12 | < | #include "standard.h" |
| 12 | > | #include <stdio.h> |
| 13 | > | #include <stdlib.h> |
| 14 | ||
| 15 | + | #include "rterror.h" |
| 16 | + | |
| 17 | extern char *strerror(); | |
| 18 | /* global list of error actions */ | |
| 19 | struct erract erract[NERRS] = ERRACT_INIT; | |
| # | Line 25 | Line 28 | char *emsg; | |
| 28 | { | |
| 29 | register struct erract *ep; | |
| 30 | ||
| 31 | < | if (etype < 0 | etype >= NERRS) |
| 31 | > | if ((etype < 0) | (etype >= NERRS)) |
| 32 | return; | |
| 33 | ep = erract + etype; | |
| 34 | if (ep->pf != NULL) { | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |