shared: move src/import/curl-util.h to src/shared/
Move more common definitions in the header file instead of repeating them in bunch of places. src/import/curl-util.[ch] is renamed so that it's shared more naturally with other components.
This commit is contained in:
+1
-2
@@ -18,6 +18,7 @@
|
||||
#include "chase.h"
|
||||
#include "copy.h"
|
||||
#include "creds-util.h"
|
||||
#include "curl-util.h"
|
||||
#include "device-private.h"
|
||||
#include "dns-rr.h"
|
||||
#include "errno-util.h"
|
||||
@@ -53,8 +54,6 @@
|
||||
#include "web-util.h"
|
||||
#include "xattr-util.h"
|
||||
|
||||
#include "../import/curl-util.h"
|
||||
|
||||
/* This implements a client to the AWS' and Azure's "Instance Metadata Service", as well as GCP's "VM
|
||||
* Metadata", i.e.:
|
||||
*
|
||||
|
||||
@@ -11,8 +11,8 @@ executables += [
|
||||
'sources' : files(
|
||||
'imdsd.c',
|
||||
'imds-util.c'
|
||||
) + import_curl_util_c,
|
||||
'dependencies' : [ libcurl ],
|
||||
) + curl_util_c,
|
||||
'dependencies' : [libcurl],
|
||||
},
|
||||
libexec_template + {
|
||||
'name' : 'systemd-imds',
|
||||
|
||||
Reference in New Issue
Block a user