Remove building with NOCRYPTO option
[minix.git] / minix / commands / cawf / regerror.c
blob41cf90c79e73ea1ee227bf96ce133e7c432e6d1b
1 #include <stdio.h>
2 #include "regexp.h"
3 #include "proto.h"
5 void regerror(char *s) {
6 #ifndef DOSPORT
7 #ifdef ERRAVAIL
8 error("regexp: %s", s);
9 #else
10 fprintf(stderr, "regexp(3): %s", s);
11 exit(1);
12 #endif
13 /* NOTREACHED */
14 #endif /* ifdef'd out for less's sake when reporting error inside less */