aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Brault <alan.brault@incruentatus.net>2010-12-09 20:32:04 -0500
committerAlan Brault <alan.brault@incruentatus.net>2010-12-09 20:32:04 -0500
commit677538b13b066b24ddec5429b10dd3453bad06af (patch)
treee02195a3115aff67a48cdad4db4bfa36a7792401
parent52b63bc87574c43dcedd86faa87ae6931ed47f9c (diff)
downloadNetNuke2-677538b13b066b24ddec5429b10dd3453bad06af.tar.gz
Utilitize config.h
-rw-r--r--include/netnuke.h4
-rw-r--r--src/netnuke.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/netnuke.h b/include/netnuke.h
index 5ce8b46..d8b4547 100644
--- a/include/netnuke.h
+++ b/include/netnuke.h
@@ -21,6 +21,8 @@
#ifndef NETNUKE_H
#define NETNUKE_H
+#include "config.h"
+
#define AUTHOR "Joseph Hunkeler"
#define LICENSE "GPLv3"
#define VERSION_MAJOR 2
@@ -35,8 +37,6 @@
#define NNLOGFILE "netnuke.log"
#define self __FUNCTION__
-#define _FILE_OFFSET_BITS 64
-
typedef struct nndevice_t
{
char vendor[50];
diff --git a/src/netnuke.c b/src/netnuke.c
index 4527276..11f63b6 100644
--- a/src/netnuke.c
+++ b/src/netnuke.c
@@ -105,7 +105,7 @@ char *ide_device_glob[] =
void usage(const char* progname)
{
int i;
- printf("%s v%d.%d %s %s\n", progname, VERSION_MAJOR, VERSION_MINOR, LICENSE, AUTHOR);
+ printf("%s %s %s <%s>\n", PACKAGE_STRING, LICENSE, AUTHOR, PACKAGE_BUGREPORT);
printf("usage: %s ", progname);
for( i = 0 ; long_options[i].name != NULL ; i++ )
{