Cleanup: remove unpack.h, eliminate subdirectory

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
master
David Oberhollenzer 4 years ago
parent f62bab2629
commit 417fa5b907

@ -34,7 +34,7 @@ pkg_SOURCES += main/cmd/dump/dump.c main/cmd/dump/dump.h main/cmd/dump/dump_toc.
pkg_SOURCES += main/cmd/dump/dump_header.c
# unpack command
pkg_SOURCES += main/cmd/unpack/unpack.c main/cmd/unpack/unpack.h
pkg_SOURCES += main/cmd/unpack.c
# help command
pkg_SOURCES += main/cmd/help.c

@ -1,5 +1,13 @@
#include "unpack.h"
#include <getopt.h>
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <fcntl.h>
#include "pkgreader.h"
#include "command.h"
#include "pkgio.h"
#include "util.h"
static const struct option long_opts[] = {
{ "root", required_argument, NULL, 'r' },

@ -1,20 +0,0 @@
#ifndef UNPACK_H
#define UNPACK_H
#include <sys/types.h>
#include <sys/stat.h>
#include <getopt.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <stdio.h>
#include <errno.h>
#include <fcntl.h>
#include "image_entry.h"
#include "pkgreader.h"
#include "command.h"
#include "pkgio.h"
#include "util.h"
#endif /* UNPACK_H */
Loading…
Cancel
Save