From 207c707f2c7073a6fbd14124197a559d9d471f65 Mon Sep 17 00:00:00 2001 From: Pierre Habouzit Date: Mon, 30 Oct 2006 23:57:13 +0100 Subject: [PATCH] unused, drop Signed-off-by: Pierre Habouzit --- lib/Makefile.am | 6 +++--- lib/exit.c | 21 --------------------- lib/exit.h | 6 ------ 3 files changed, 3 insertions(+), 30 deletions(-) delete mode 100644 lib/exit.c delete mode 100644 lib/exit.h diff --git a/lib/Makefile.am b/lib/Makefile.am index 2d75bb3..24b3676 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -5,9 +5,9 @@ AR=@AR@ AUTOMAKE_OPTIONS = foreign noinst_LIBRARIES = libsane.a -noinst_HEADERS = str.h exit.h list.h rx.h debug.h +noinst_HEADERS = str.h list.h rx.h debug.h -libsane_a_SOURCES = exit.c str.c list.c rx.h debug.h \ - exit.h str.h list.h rx.c debug.c +libsane_a_SOURCES = str.c list.c rx.h debug.h \ + str.h list.h rx.c debug.c -include ../cflags.mk diff --git a/lib/exit.c b/lib/exit.c deleted file mode 100644 index b83953b..0000000 --- a/lib/exit.c +++ /dev/null @@ -1,21 +0,0 @@ - -#include -#include - -#include -#include "exit.h" -#include - -/* XXX remove after modularization*/ -/*extern void mutt_endwin (void*);*/ - -void exit_fatal (const char* func, const char* msg, int line, - const char* fname, int code) { -/* mutt_endwin (NULL);*/ - fprintf (stderr, _("Fatal error in function '%s' called from " - "file '%s', line '%d': %s\n" - "(please report this error to " - "\n"), - NONULL(func), NONULL(fname), line, NONULL(msg)); - exit (code); -} diff --git a/lib/exit.h b/lib/exit.h deleted file mode 100644 index 3cc4537..0000000 --- a/lib/exit.h +++ /dev/null @@ -1,6 +0,0 @@ -#ifndef _LIB_EXIT_H -#define _LIB_EXIT_H - -void exit_fatal (const char*, const char*, int, const char*, int); - -#endif /* !_LIB_EXIT_H */ -- 2.20.1