make lua packages interfaces be *.li.
[apps/madmutt.git] / extlib.c
1 /*
2  * Copyright notice from original mutt:
3  * Copyright (C) 1999-2000 Thomas Roessler <roessler@does-not-exist.org>
4  *
5  * This file is part of mutt-ng, see http://www.muttng.org/.
6  * It's licensed under the GNU General Public License,
7  * please see the file GPL in the top level source directory.
8  */
9
10 /* 
11  * Some simple dummies, so we can reuse the routines from
12  * lib.c in external programs.
13  */
14
15 #define WHERE
16 #define _EXTLIB_C
17
18 #include <lib-lib/lib-lib.h>
19 #include "lib.h"
20
21 void (*mutt_error)(const char *, ...)
22     __attribute__((format(printf, 1, 2))) = mutt_nocurses_error;
23
24 void mutt_exit (int code)
25 {
26   exit (code);
27 }