aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-08-21 13:52:53 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-08-21 13:52:53 +0200
commit5cbc1267e5dc42149eeb07883f5f6239d22388e9 (patch)
tree450c2a644f05f9fccd9d24bada9029c0974ba6aa
parent851bb334c29a09e3ea706cc610c67667161165fa (diff)
Rename difftool.h to sqfsdiff.h
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
-rw-r--r--difftool/Makemodule.am2
-rw-r--r--difftool/compare_dir.c2
-rw-r--r--difftool/compare_files.c2
-rw-r--r--difftool/extract.c2
-rw-r--r--difftool/node_compare.c2
-rw-r--r--difftool/sqfsdiff.c2
-rw-r--r--difftool/sqfsdiff.h (renamed from difftool/difftool.h)2
-rw-r--r--difftool/super.c2
-rw-r--r--difftool/util.c2
9 files changed, 9 insertions, 9 deletions
diff --git a/difftool/Makemodule.am b/difftool/Makemodule.am
index 293143e..e687cb0 100644
--- a/difftool/Makemodule.am
+++ b/difftool/Makemodule.am
@@ -1,4 +1,4 @@
-sqfsdiff_SOURCES = difftool/sqfsdiff.c difftool/difftool.h difftool/util.c
+sqfsdiff_SOURCES = difftool/sqfsdiff.c difftool/sqfsdiff.h difftool/util.c
sqfsdiff_SOURCES += difftool/compare_dir.c difftool/node_compare.c
sqfsdiff_SOURCES += difftool/compare_files.c difftool/super.c
sqfsdiff_SOURCES += difftool/extract.c
diff --git a/difftool/compare_dir.c b/difftool/compare_dir.c
index cc3f8bc..7f4d00f 100644
--- a/difftool/compare_dir.c
+++ b/difftool/compare_dir.c
@@ -4,7 +4,7 @@
*
* Copyright (C) 2019 David Oberhollenzer <goliath@infraroot.at>
*/
-#include "difftool.h"
+#include "sqfsdiff.h"
int compare_dir_entries(tree_node_t *old, tree_node_t *new)
{
diff --git a/difftool/compare_files.c b/difftool/compare_files.c
index 04749c3..46e170b 100644
--- a/difftool/compare_files.c
+++ b/difftool/compare_files.c
@@ -4,7 +4,7 @@
*
* Copyright (C) 2019 David Oberhollenzer <goliath@infraroot.at>
*/
-#include "difftool.h"
+#include "sqfsdiff.h"
static unsigned char old_buf[MAX_WINDOW_SIZE];
static unsigned char new_buf[MAX_WINDOW_SIZE];
diff --git a/difftool/extract.c b/difftool/extract.c
index 7d4fc1c..f40de60 100644
--- a/difftool/extract.c
+++ b/difftool/extract.c
@@ -4,7 +4,7 @@
*
* Copyright (C) 2019 David Oberhollenzer <goliath@infraroot.at>
*/
-#include "difftool.h"
+#include "sqfsdiff.h"
static int extract(data_reader_t *data, file_info_t *fi,
const char *path, char prefix)
diff --git a/difftool/node_compare.c b/difftool/node_compare.c
index 2e1cec6..1c68ab2 100644
--- a/difftool/node_compare.c
+++ b/difftool/node_compare.c
@@ -4,7 +4,7 @@
*
* Copyright (C) 2019 David Oberhollenzer <goliath@infraroot.at>
*/
-#include "difftool.h"
+#include "sqfsdiff.h"
int node_compare(tree_node_t *a, tree_node_t *b)
{
diff --git a/difftool/sqfsdiff.c b/difftool/sqfsdiff.c
index a065a8f..ddc2686 100644
--- a/difftool/sqfsdiff.c
+++ b/difftool/sqfsdiff.c
@@ -4,7 +4,7 @@
*
* Copyright (C) 2019 David Oberhollenzer <goliath@infraroot.at>
*/
-#include "difftool.h"
+#include "sqfsdiff.h"
static struct option long_opts[] = {
{ "old", required_argument, NULL, 'a' },
diff --git a/difftool/difftool.h b/difftool/sqfsdiff.h
index bf63faf..f7d5139 100644
--- a/difftool/difftool.h
+++ b/difftool/sqfsdiff.h
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-or-later */
/*
- * difftool.h
+ * sqfsdiff.h
*
* Copyright (C) 2019 David Oberhollenzer <goliath@infraroot.at>
*/
diff --git a/difftool/super.c b/difftool/super.c
index 7bda728..0b75d9b 100644
--- a/difftool/super.c
+++ b/difftool/super.c
@@ -4,7 +4,7 @@
*
* Copyright (C) 2019 David Oberhollenzer <goliath@infraroot.at>
*/
-#include "difftool.h"
+#include "sqfsdiff.h"
static const struct {
uint16_t mask;
diff --git a/difftool/util.c b/difftool/util.c
index 64ee7d4..2883a2f 100644
--- a/difftool/util.c
+++ b/difftool/util.c
@@ -4,7 +4,7 @@
*
* Copyright (C) 2019 David Oberhollenzer <goliath@infraroot.at>
*/
-#include "difftool.h"
+#include "sqfsdiff.h"
char *node_path(tree_node_t *n)
{