lockfile: drop unnecessary headers from lockfile-util.h
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
#include "io-util.h"
|
||||
#include "loop-util.h"
|
||||
#include "machine-image.h"
|
||||
#include "missing_capability.h"
|
||||
#include "mount-util.h"
|
||||
#include "process-util.h"
|
||||
#include "raw-clone.h"
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#include "machine-image.h"
|
||||
#include "machine-pool.h"
|
||||
#include "machined.h"
|
||||
#include "missing_capability.h"
|
||||
#include "path-util.h"
|
||||
#include "process-util.h"
|
||||
#include "stdio-util.h"
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
#include "alloc-util.h"
|
||||
#include "ether-addr-util.h"
|
||||
#include "lockfile-util.h"
|
||||
#include "missing_network.h"
|
||||
#include "netlink-util.h"
|
||||
#include "nspawn-network.h"
|
||||
#include "siphash24.h"
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include "fd-util.h"
|
||||
#include "io-util.h"
|
||||
#include "machine-image.h"
|
||||
#include "missing_capability.h"
|
||||
#include "portable.h"
|
||||
#include "portabled-bus.h"
|
||||
#include "portabled-image-bus.h"
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#include "fileio.h"
|
||||
#include "io-util.h"
|
||||
#include "machine-image.h"
|
||||
#include "missing_capability.h"
|
||||
#include "portable.h"
|
||||
#include "portabled-bus.h"
|
||||
#include "portabled-image-bus.h"
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1+ */
|
||||
#pragma once
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include "macro.h"
|
||||
#include "missing.h"
|
||||
|
||||
typedef struct LockFile {
|
||||
char *path;
|
||||
int fd;
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/file.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
#include <linux/fs.h>
|
||||
|
||||
Reference in New Issue
Block a user