aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-25 06:30:35 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-25 06:35:01 +0200
commit762319a6c51ae354334182751b5d6c6bd364e5b0 (patch)
treed55d9c26f30cce1f7fb97a29eaeaeae1328891f6
parent3da78a56df43360520f8007bdb4e11fa25f712cc (diff)
Minor fixup for internal block processor header
- Add copyright header - Remove redundant header inclusions - Remove unused macros Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
-rw-r--r--lib/sqfs/blk_proc/internal.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/sqfs/blk_proc/internal.h b/lib/sqfs/blk_proc/internal.h
index 5fdbc3e..3d27b04 100644
--- a/lib/sqfs/blk_proc/internal.h
+++ b/lib/sqfs/blk_proc/internal.h
@@ -1,8 +1,13 @@
+/* SPDX-License-Identifier: LGPL-3.0-or-later */
+/*
+ * internal.h
+ *
+ * Copyright (C) 2019 David Oberhollenzer <goliath@infraroot.at>
+ */
#ifndef INTERNAL_H
#define INTERNAL_H
#include "config.h"
-#include "sqfs/predef.h"
#include "sqfs/block_processor.h"
#include "sqfs/compress.h"
@@ -25,8 +30,6 @@
#define MK_BLK_SIG(chksum, size) \
(((uint64_t)(size) << 32) | (uint64_t)(chksum))
-#define BLK_SIZE(sig) ((sig) >> 32)
-
#define INIT_BLOCK_COUNT (128)