# HG changeset patch # User Mikael Berthe # Date 1125138137 -7200 # Node ID fb2325d24d1384d6a57acded07d53fa5ef7ee45b # Parent 17aa60c6dc63285fb62a3c518e8e87c7fdc80a0a Drop harddefines.h diff -r 17aa60c6dc63 -r fb2325d24d13 mcabber/src/Makefile.am --- a/mcabber/src/Makefile.am Sat Aug 27 11:21:27 2005 +0200 +++ b/mcabber/src/Makefile.am Sat Aug 27 12:22:17 2005 +0200 @@ -2,9 +2,8 @@ mcabber_SOURCES = main.c jabglue.c jabglue.h roster.c roster.h \ commands.c commands.h compl.c compl.h \ hbuf.c hbuf.h screen.c screen.h logprint.h \ - settings.c settings.h \ - hooks.c hooks.h histolog.c histolog.h \ - utils.c utils.h list.h harddefines.h + settings.c settings.h hooks.c hooks.h \ + histolog.c histolog.h utils.c utils.h list.h LDADD = -lglib-2.0 -lncurses -lpanel \ ../libjabber/liblibjabber.a ../connwrap/libconnwrap.a diff -r 17aa60c6dc63 -r fb2325d24d13 mcabber/src/harddefines.h --- a/mcabber/src/harddefines.h Sat Aug 27 11:21:27 2005 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,10 +0,0 @@ -#ifndef __MCABBER__ -#define __MCABBER__ - -#include "../config.h" - -#define MCABBER_VERSION "MCabber v" VERSION " -- " \ - "based on http://cabber.sourceforge.net" -#define EMAIL "Email: mcabber [at] lilotux [dot] net" - -#endif diff -r 17aa60c6dc63 -r fb2325d24d13 mcabber/src/main.c --- a/mcabber/src/main.c Sat Aug 27 11:21:27 2005 +0200 +++ b/mcabber/src/main.c Sat Aug 27 12:22:17 2005 +0200 @@ -31,6 +31,7 @@ #include #include #include +#include #include "jabglue.h" #include "screen.h" @@ -40,7 +41,6 @@ #include "histolog.h" #include "hooks.h" #include "utils.h" -#include "harddefines.h" void mcabber_connect(void) @@ -155,10 +155,9 @@ return; } -static void credits(void) +inline static void credits(void) { - printf(MCABBER_VERSION "\n"); - printf(EMAIL "\n"); + printf("MCabber v" VERSION " -- Email: mcabber [at] lilotux [dot] net\n"); } int main(int argc, char **argv)