From: Nick Bowler Date: Thu, 4 Feb 2010 19:01:28 +0000 (-0500) Subject: lbxtool: Update --version information. X-Git-Url: https://git.draconx.ca/gitweb/liblbx.git/commitdiff_plain/91743040c1a98baaffc82ffff8306c2c9fd07285 lbxtool: Update --version information. --- diff --git a/src/lbxtool.c b/src/lbxtool.c index c76bdd6..13a9ba6 100644 --- a/src/lbxtool.c +++ b/src/lbxtool.c @@ -51,7 +51,7 @@ enum { int filematch(char **argv, const char *name) { - int rc, i; + int i; for (i = 0; argv[i]; i++) { switch(fnmatch(argv[i], name, 0)) { diff --git a/src/tools.h b/src/tools.h index 2332c2c..3b496cd 100644 --- a/src/tools.h +++ b/src/tools.h @@ -1,19 +1,14 @@ #ifndef TOOLS_H_ #define TOOLS_H_ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#ifndef PACKAGE_VERSION -# define PACKAGE_VERSION "(unknown)" -#endif +#include #define VERSION_BOILERPLATE(name)\ name " (2ooM liblbx) " PACKAGE_VERSION "\n"\ -"Copyright (C) 2006-2008 Nick Bowler.\n"\ -"This is free software: you are free to change and redistribute it under\n"\ -"the terms of the GNU General Public License, version 2 or later.\n"\ -"There is ABSOLUTELY NO WARRANTY, to the extent permitted by law." +"Copyright (C) 2006-2010 Nick Bowler.\n"\ +"License GPLv3+: GNU GPL version 3 or later "\ +"\n"\ +"This is free software: you are free to change and redistribute it.\n"\ +"There is NO WARRANTY, to the extent permitted by law." #endif