From: Pierre Habouzit Date: Sun, 12 Nov 2006 15:00:16 +0000 (+0100) Subject: move history in lib-ui X-Git-Url: http://git.madism.org/?a=commitdiff_plain;h=fd25c07c1e9e19606b1b6d5533df1f6239455036;p=apps%2Fmadmutt.git move history in lib-ui Signed-off-by: Pierre Habouzit --- diff --git a/Makefile.am b/Makefile.am index f34b0e2..9d2ae40 100644 --- a/Makefile.am +++ b/Makefile.am @@ -20,7 +20,7 @@ madmutt_SOURCES = $(BUILT_SOURCES) \ alias.c attach.c base64.c browser.c buffy.c \ charset.c compress.c commands.c complete.c \ compose.c copy.c editmsg.c init.c keymap.c lib.c \ - flags.c filter.c from.c handler.c hcache.c hdrline.c headers.c help.c history.c hook.c \ + flags.c filter.c from.c handler.c hcache.c hdrline.c headers.c help.c hook.c \ main.c mbox.c mbyte.c mh.c muttlib.c mutt_idna.c mx.c \ pager.c pattern.c postpone.c query.c \ recvattach.c recvcmd.c rfc1524.c rfc3676.c \ @@ -69,7 +69,7 @@ EXTRA_DIST = config.rpath COPYRIGHT GPL OPS OPS.PGP OPS.CRYPT OPS.SMIME TODO \ buffy.h charset.h compress.h copy.h \ dotlock.h functions.def gen_defs \ recvattach.h handler.h thread.h \ - globals.h history.h init.h keymap.h mutt_crypt.h \ + globals.h init.h keymap.h mutt_crypt.h \ mime.h mutt.h mutt_sasl.h mbox.h mh.h mx.h pager.h protos.h rfc1524.h \ rfc3676.h sort.h mime.types autogen.sh \ OPS.MIX remailer.c remailer.h browser.h state.h \ diff --git a/init.c b/init.c index f6efc62..218e29c 100644 --- a/init.c +++ b/init.c @@ -27,9 +27,9 @@ #include #include +#include #include "mutt.h" -#include "history.h" #include "keymap.h" #include "mbyte.h" #include "charset.h" diff --git a/lib-ui/Makefile.am b/lib-ui/Makefile.am index 77a8037..3962458 100644 --- a/lib-ui/Makefile.am +++ b/lib-ui/Makefile.am @@ -1,10 +1,9 @@ noinst_LIBRARIES = libui.a -libui_a_SOURCES = curses.h \ - enter.h menu.h \ - enter.c menu.c color.c curs_lib.c curs_main.c resize.c +libui_a_SOURCES = curses.h enter.h menu.h history.h \ + enter.c menu.c history.c \ + color.c curs_lib.c curs_main.c resize.c -noinst_HEADERS = curses.h \ - enter.h menu.h +noinst_HEADERS = curses.h enter.h menu.h history.h -include ../cflags.mk diff --git a/history.c b/lib-ui/history.c similarity index 100% rename from history.c rename to lib-ui/history.c diff --git a/history.h b/lib-ui/history.h similarity index 100% rename from history.h rename to lib-ui/history.h