summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-11-23 15:12:40 +0100
committerThomas Haller <thaller@redhat.com>2015-11-23 15:19:45 +0100
commitdbc6a2467efb1c3a6f9c40899219346fa37523c8 (patch)
tree4634c49a601fcc7be8043f948879750d1d2a3eb2
parent48b1339f6b4c8059b2bbe48b4dd20c0e3fec74d1 (diff)
downloadNetworkManager-bg/systemd-update.tar.gz
fixup! Merge branch 'systemd' into bg/systemd-updatebg/systemd-update
-rw-r--r--src/systemd/src/basic/fs-util.c1
-rw-r--r--src/systemd/src/basic/path-util.c1
-rw-r--r--src/systemd/src/libsystemd-network/sd-dhcp6-client.c1
-rw-r--r--src/systemd/src/systemd/sd-lldp.h4
4 files changed, 3 insertions, 4 deletions
diff --git a/src/systemd/src/basic/fs-util.c b/src/systemd/src/basic/fs-util.c
index 5c78b2df64..e9a4f7e39e 100644
--- a/src/systemd/src/basic/fs-util.c
+++ b/src/systemd/src/basic/fs-util.c
@@ -99,6 +99,7 @@ int rmdir_parents(const char *path, const char *stop) {
return 0;
}
+
int rename_noreplace(int olddirfd, const char *oldpath, int newdirfd, const char *newpath) {
struct stat buf;
int ret;
diff --git a/src/systemd/src/basic/path-util.c b/src/systemd/src/basic/path-util.c
index 9bfaafa5ca..9809eee2e2 100644
--- a/src/systemd/src/basic/path-util.c
+++ b/src/systemd/src/basic/path-util.c
@@ -56,7 +56,6 @@
#include "util.h"
#if 0 /* NM_IGNORED */
-
bool path_is_absolute(const char *p) {
return p[0] == '/';
}
diff --git a/src/systemd/src/libsystemd-network/sd-dhcp6-client.c b/src/systemd/src/libsystemd-network/sd-dhcp6-client.c
index a3cbf0928a..f4706cd8a9 100644
--- a/src/systemd/src/libsystemd-network/sd-dhcp6-client.c
+++ b/src/systemd/src/libsystemd-network/sd-dhcp6-client.c
@@ -1302,4 +1302,3 @@ int sd_dhcp6_client_new(sd_dhcp6_client **ret) {
return 0;
}
-
diff --git a/src/systemd/src/systemd/sd-lldp.h b/src/systemd/src/systemd/sd-lldp.h
index 06058ef6f8..747e23b170 100644
--- a/src/systemd/src/systemd/sd-lldp.h
+++ b/src/systemd/src/systemd/sd-lldp.h
@@ -23,11 +23,11 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#include "nm-sd-adapt.h"
+
#include <inttypes.h>
#include <net/ethernet.h>
-#include "nm-sd-adapt.h"
-
#include "sd-event.h"
#include "_sd-common.h"