util: split out sorting related calls to new sort-util.[ch]
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include "fd-util.h"
|
||||
#include "fileio.h"
|
||||
#include "hexdecoct.h"
|
||||
#include "sort-util.h"
|
||||
#include "string-util.h"
|
||||
#include "strv.h"
|
||||
|
||||
|
||||
@@ -8,9 +8,9 @@
|
||||
#include "dirent-util.h"
|
||||
#include "fd-util.h"
|
||||
#include "set.h"
|
||||
#include "sort-util.h"
|
||||
#include "string-util.h"
|
||||
#include "strv.h"
|
||||
#include "util.h"
|
||||
|
||||
#define DEVICE_ENUMERATE_MAX_DEPTH 256
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
#include "label.h"
|
||||
#include "mkdir.h"
|
||||
#include "path-util.h"
|
||||
#include "sort-util.h"
|
||||
#include "strbuf.h"
|
||||
#include "string-util.h"
|
||||
#include "strv.h"
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#include "local-addresses.h"
|
||||
#include "macro.h"
|
||||
#include "netlink-util.h"
|
||||
#include "sort-util.h"
|
||||
|
||||
static int address_compare(const struct local_address *a, const struct local_address *b) {
|
||||
int r;
|
||||
|
||||
Reference in New Issue
Block a user