aboutsummaryrefslogtreecommitdiff
path: root/ubifs-utils/common/hashtable/hashtable.c
diff options
context:
space:
mode:
Diffstat (limited to 'ubifs-utils/common/hashtable/hashtable.c')
-rw-r--r--ubifs-utils/common/hashtable/hashtable.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/ubifs-utils/common/hashtable/hashtable.c b/ubifs-utils/common/hashtable/hashtable.c
index 071afd2..af7fed9 100644
--- a/ubifs-utils/common/hashtable/hashtable.c
+++ b/ubifs-utils/common/hashtable/hashtable.c
@@ -6,14 +6,10 @@
#include <math.h>
#include "ubifs.h"
+#include "defs.h"
#include "hashtable.h"
#include "hashtable_private.h"
-/* common.h requires the PROGRAM_NAME macro */
-extern struct ubifs_info info_;
-#define PROGRAM_NAME (info_.program_name)
-#include "common.h"
-
/*
Credit for primes table: Aaron Krowne
http://br.endernet.org/~akrowne/