]> git.draconx.ca Git - liblbx.git/commitdiff
lbxtool: Update --version information.
authorNick Bowler <nbowler@draconx.ca>
Thu, 4 Feb 2010 19:01:28 +0000 (14:01 -0500)
committerNick Bowler <nbowler@draconx.ca>
Mon, 8 Feb 2010 17:00:54 +0000 (12:00 -0500)
src/lbxtool.c
src/tools.h

index c76bdd6d8232921587211dcaee1335a766a4e651..13a9ba65d28724a1b907ab2c312ffa8096f05953 100644 (file)
@@ -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)) {
index 2332c2c3e3fd83a93da680047bf5614a0ee52386..3b496cde1a78be60cf996bb8b8bd3085d268db1e 100644 (file)
@@ -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 <config.h>
 
 #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 "\
+"<http:/""/gnu.org/licenses/gpl.html>\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