util-lib: split out allocation calls into alloc-util.[ch]
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
along with systemd; If not, see <http://www.gnu.org/licenses/>.
|
||||
***/
|
||||
|
||||
#include "alloc-util.h"
|
||||
#include "curl-util.h"
|
||||
#include "fd-util.h"
|
||||
#include "string-util.h"
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
|
||||
#include "sd-daemon.h"
|
||||
|
||||
#include "alloc-util.h"
|
||||
#include "btrfs-util.h"
|
||||
#include "copy.h"
|
||||
#include "export-raw.h"
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
|
||||
#include "sd-daemon.h"
|
||||
|
||||
#include "alloc-util.h"
|
||||
#include "btrfs-util.h"
|
||||
#include "export-tar.h"
|
||||
#include "fd-util.h"
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
|
||||
#include "sd-event.h"
|
||||
|
||||
#include "alloc-util.h"
|
||||
#include "event-util.h"
|
||||
#include "export-raw.h"
|
||||
#include "export-tar.h"
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#include "sd-daemon.h"
|
||||
#include "sd-event.h"
|
||||
|
||||
#include "alloc-util.h"
|
||||
#include "btrfs-util.h"
|
||||
#include "chattr-util.h"
|
||||
#include "copy.h"
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#include "sd-daemon.h"
|
||||
#include "sd-event.h"
|
||||
|
||||
#include "alloc-util.h"
|
||||
#include "btrfs-util.h"
|
||||
#include "copy.h"
|
||||
#include "fd-util.h"
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
|
||||
#include "sd-event.h"
|
||||
|
||||
#include "alloc-util.h"
|
||||
#include "event-util.h"
|
||||
#include "fd-util.h"
|
||||
#include "fs-util.h"
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
|
||||
#include "sd-bus.h"
|
||||
|
||||
#include "alloc-util.h"
|
||||
#include "bus-common-errors.h"
|
||||
#include "bus-util.h"
|
||||
#include "def.h"
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
|
||||
#include <sys/prctl.h>
|
||||
|
||||
#include "alloc-util.h"
|
||||
#include "btrfs-util.h"
|
||||
#include "capability-util.h"
|
||||
#include "copy.h"
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
|
||||
#include "sd-daemon.h"
|
||||
|
||||
#include "alloc-util.h"
|
||||
#include "aufs-util.h"
|
||||
#include "btrfs-util.h"
|
||||
#include "curl-util.h"
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
|
||||
#include <sys/xattr.h>
|
||||
|
||||
#include "alloc-util.h"
|
||||
#include "fd-util.h"
|
||||
#include "hexdecoct.h"
|
||||
#include "io-util.h"
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
|
||||
#include "sd-daemon.h"
|
||||
|
||||
#include "alloc-util.h"
|
||||
#include "btrfs-util.h"
|
||||
#include "chattr-util.h"
|
||||
#include "copy.h"
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
|
||||
#include "sd-daemon.h"
|
||||
|
||||
#include "alloc-util.h"
|
||||
#include "btrfs-util.h"
|
||||
#include "copy.h"
|
||||
#include "curl-util.h"
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
|
||||
#include "sd-event.h"
|
||||
|
||||
#include "alloc-util.h"
|
||||
#include "event-util.h"
|
||||
#include "hostname-util.h"
|
||||
#include "import-util.h"
|
||||
|
||||
@@ -21,10 +21,11 @@
|
||||
|
||||
#include <zlib.h>
|
||||
|
||||
#include "util.h"
|
||||
#include "sparse-endian.h"
|
||||
#include "qcow2-util.h"
|
||||
#include "alloc-util.h"
|
||||
#include "btrfs-util.h"
|
||||
#include "qcow2-util.h"
|
||||
#include "sparse-endian.h"
|
||||
#include "util.h"
|
||||
|
||||
#define QCOW2_MAGIC 0x514649fb
|
||||
|
||||
|
||||
Reference in New Issue
Block a user