move history in lib-ui
authorPierre Habouzit <madcoder@debian.org>
Sun, 12 Nov 2006 15:00:16 +0000 (16:00 +0100)
committerPierre Habouzit <madcoder@debian.org>
Sun, 12 Nov 2006 15:00:16 +0000 (16:00 +0100)
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Makefile.am
init.c
lib-ui/Makefile.am
lib-ui/history.c [moved from history.c with 100% similarity]
lib-ui/history.h [moved from history.h with 100% similarity]

index f34b0e2..9d2ae40 100644 (file)
@@ -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 (file)
--- a/init.c
+++ b/init.c
@@ -27,9 +27,9 @@
 #include <lib-sys/unix.h>
 
 #include <lib-ui/curses.h>
+#include <lib-ui/history.h>
 
 #include "mutt.h"
-#include "history.h"
 #include "keymap.h"
 #include "mbyte.h"
 #include "charset.h"
index 77a8037..3962458 100644 (file)
@@ -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
similarity index 100%
rename from history.c
rename to lib-ui/history.c
similarity index 100%
rename from history.h
rename to lib-ui/history.h