unused, drop
authorPierre Habouzit <madcoder@debian.org>
Mon, 30 Oct 2006 22:57:13 +0000 (23:57 +0100)
committerPierre Habouzit <madcoder@debian.org>
Mon, 30 Oct 2006 22:57:13 +0000 (23:57 +0100)
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
lib/Makefile.am
lib/exit.c [deleted file]
lib/exit.h [deleted file]

index 2d75bb3..24b3676 100644 (file)
@@ -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 (file)
index b83953b..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-
-#include <stdlib.h>
-#include <stdio.h>
-
-#include <lib-lib/str.h>
-#include "exit.h"
-#include <lib-lib/macros.h>
-
-/* 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 "
-                     "<mutt-ng-devel@lists.berlios.de>\n"),
-           NONULL(func), NONULL(fname), line, NONULL(msg));
-  exit (code);
-}
diff --git a/lib/exit.h b/lib/exit.h
deleted file mode 100644 (file)
index 3cc4537..0000000
+++ /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 */