source: trunk/athena/bin/discuss/dsgrep/regerror.c @ 23811

Revision 23811, 516 bytes checked in by broder, 16 years ago (diff)
Add various changes so that discuss will build without krb4.
Line 
1/*
2 *
3 *      Copyright (C) 1989 by the Massachusetts Institute of Technology
4 *      Developed by the MIT Student Information Processing Board (SIPB).
5 *      For copying information, see the file mit-copyright.h in this release.
6 *
7 */
8
9#ifndef lint
10#ifndef SABER
11static char *RCSid = "$Id: regerror.c,v 1.2 1999-01-22 23:09:40 ghudson Exp $";
12#endif
13#endif
14
15#include <stdio.h>
16#include <stdlib.h>
17void regerror(msg)
18     char *msg;
19{
20  fprintf(stderr,"dsgrep: Error in regular expression %s\n",msg);
21  exit(1);
22}
Note: See TracBrowser for help on using the repository browser.