Andreas Krennmair:
[apps/madmutt.git] / extlib.c
1 /*
2  * Copyright (C) 1999-2000 Thomas Roessler <roessler@does-not-exist.org>
3  * 
4  *     This program is free software; you can redistribute it
5  *     and/or modify it under the terms of the GNU General Public
6  *     License as published by the Free Software Foundation; either
7  *     version 2 of the License, or (at your option) any later
8  *     version.
9  * 
10  *     This program is distributed in the hope that it will be
11  *     useful, but WITHOUT ANY WARRANTY; without even the implied
12  *     warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13  *     PURPOSE.  See the GNU General Public License for more
14  *     details.
15  * 
16  *     You should have received a copy of the GNU General Public
17  *     License along with this program; if not, write to the Free
18  *     Software Foundation, Inc., 59 Temple Place - Suite 330,
19  *     Boston, MA  02111, USA.
20  */ 
21
22 /* 
23  * Some simple dummies, so we can reuse the routines from
24  * lib.c in external programs.
25  */
26
27 #define WHERE
28 #define _EXTLIB_C
29
30 #include <stdlib.h>
31 #include "lib.h"
32
33 void (*mutt_error) (const char *, ...) = mutt_nocurses_error;
34
35 void mutt_exit (int code)
36 {
37   exit (code);
38 }
39