~ubuntu-branches/ubuntu/maverick/mutt/maverick-updates

1.1.2 by Martin Pitt
Import upstream version 1.5.11+cvs20060403
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., 51 Franklin Street, Fifth Floor,
19
 *     Boston, MA  02110-1301, 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
#if HAVE_CONFIG_H
31
# include "config.h"
32
#endif
33
34
#include <stdlib.h>
35
#include "lib.h"
36
37
void (*mutt_error) (const char *, ...) = mutt_nocurses_error;
38
39
void mutt_exit (int code)
40
{
41
  exit (code);
42
}
43