0.8.6claws67
authorChristoph Hohmann <reboot@gmx.ch>
Fri, 6 Dec 2002 22:38:13 +0000 (22:38 +0000)
committerChristoph Hohmann <reboot@gmx.ch>
Fri, 6 Dec 2002 22:38:13 +0000 (22:38 +0000)
* src/Makefile.am
* src/template.[ch]             ** REMOVE **
* src/common/Makefile.am
* src/common/template.[ch]      ** NEW **
        move template files to common directory

* src/nntp.c
        add missing log.h include

src/Makefile.am
src/common/Makefile.am
src/common/template.c [moved from src/template.c with 99% similarity]
src/common/template.h [moved from src/template.h with 100% similarity]
src/nntp.c

index 15c77d5..b8045ed 100644 (file)
@@ -38,7 +38,6 @@ sylpheed_SOURCES = \
        account.c account.h \
        displayheader.c displayheader.h \
        customheader.c customheader.h \
-       template.c template.h \
        addressbook.c addressbook.h \
        addr_compl.c addr_compl.h \
        addressitem.h \
index a8d41fd..2c716a4 100644 (file)
@@ -7,6 +7,7 @@ libsylpheedcommon_la_SOURCES = \
        md5.c md5.h \
        socket.c socket.h \
        ssl.c ssl.h \
+       template.c template.h \
        utils.c utils.h \
        uuencode.c uuencode.h
 
similarity index 99%
rename from src/template.c
rename to src/common/template.c
index 659769e..59bbb55 100644 (file)
@@ -27,9 +27,8 @@
 #include <ctype.h>
 
 #include "intl.h"
-#include "main.h"
-#include "template.h"
 #include "utils.h"
+#include "template.h"
 
 static GSList *template_list;
 
similarity index 100%
rename from src/template.h
rename to src/common/template.h
index bc59ce0..d9b6f4d 100644 (file)
@@ -29,6 +29,7 @@
 #include "nntp.h"
 #include "socket.h"
 #include "utils.h"
+#include "log.h"
 #if USE_SSL
 #  include "ssl.h"
 #endif