chiark / gitweb /
pcre.c, etc.: Support the PCRE2 library.
[anag] / util.c
diff --git a/util.c b/util.c
index d35f4af37d0696ee7b4bf36619143808f7ffb650..97f498eeead689a285f64c3da648a0c1fe0ff5e3 100644 (file)
--- a/util.c
+++ b/util.c
@@ -1,13 +1,11 @@
 /* -*-c-*-
 /* -*-c-*-
- *
- * $Id: util.c,v 1.2 2004/04/08 01:36:19 mdw Exp $
  *
  * Various useful utilities, stolen from mLib
  *
  * (c) 2001 Mark Wooding
  */
 
  *
  * Various useful utilities, stolen from mLib
  *
  * (c) 2001 Mark Wooding
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of Anag: a simple wordgame helper.
  *
  *
  * This file is part of Anag: a simple wordgame helper.
  *
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
- * 
+ *
  * Anag is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  * Anag is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License
  * along with Anag; if not, write to the Free Software Foundation,
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  * You should have received a copy of the GNU General Public License
  * along with Anag; if not, write to the Free Software Foundation,
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@ -126,7 +124,7 @@ void die(const char *f, ...)
   vfprintf(stderr, f, ap);
   va_end(ap);
   putc('\n', stderr);
   vfprintf(stderr, f, ap);
   va_end(ap);
   putc('\n', stderr);
-  exit(EXIT_FAILURE);
+  exit(EX_FAIL);
 }
 
 /*----- Memory allocation -------------------------------------------------*/
 }
 
 /*----- Memory allocation -------------------------------------------------*/