summary refs log tree commit diff
path: root/src/systemd/sd-adapt-core
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2021-02-11 18:11:46 +0100
committerMichael Biebl <biebl@debian.org>2021-02-11 18:11:46 +0100
commit80ec1decc49c72efec2a8b87c06245c92c0ab807 (patch)
treee3b229aa94e8dcf0590f2317664176e7b8f7607b /src/systemd/sd-adapt-core
parent65f86e8f56267192d42f2b629fc6b0c99fb9cd0c (diff)
New upstream version 1.29.90 upstream/1.29.90
Diffstat (limited to 'src/systemd/sd-adapt-core')
-rw-r--r--src/systemd/sd-adapt-core/condition.h5
-rw-r--r--src/systemd/sd-adapt-core/conf-parser.h3
-rw-r--r--src/systemd/sd-adapt-core/device-util.h3
-rw-r--r--src/systemd/sd-adapt-core/khash.h3
-rw-r--r--src/systemd/sd-adapt-core/nm-sd-adapt-core.c21
-rw-r--r--src/systemd/sd-adapt-core/nm-sd-adapt-core.h85
-rw-r--r--src/systemd/sd-adapt-core/sd-daemon.h3
-rw-r--r--src/systemd/sd-adapt-core/sd-device.h3
-rw-r--r--src/systemd/sd-adapt-core/udev-util.h3
9 files changed, 0 insertions, 129 deletions
diff --git a/src/systemd/sd-adapt-core/condition.h b/src/systemd/sd-adapt-core/condition.h
deleted file mode 100644
index d3a6812a..00000000
--- a/src/systemd/sd-adapt-core/condition.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#pragma once
-
-/* dummy header */
-
-typedef struct _sd_adapt_Condition Condition;
diff --git a/src/systemd/sd-adapt-core/conf-parser.h b/src/systemd/sd-adapt-core/conf-parser.h
deleted file mode 100644
index 637892c2..00000000
--- a/src/systemd/sd-adapt-core/conf-parser.h
+++ /dev/null
@@ -1,3 +0,0 @@
-#pragma once
-
-/* dummy header */
diff --git a/src/systemd/sd-adapt-core/device-util.h b/src/systemd/sd-adapt-core/device-util.h
deleted file mode 100644
index 637892c2..00000000
--- a/src/systemd/sd-adapt-core/device-util.h
+++ /dev/null
@@ -1,3 +0,0 @@
-#pragma once
-
-/* dummy header */
diff --git a/src/systemd/sd-adapt-core/khash.h b/src/systemd/sd-adapt-core/khash.h
deleted file mode 100644
index 637892c2..00000000
--- a/src/systemd/sd-adapt-core/khash.h
+++ /dev/null
@@ -1,3 +0,0 @@
-#pragma once
-
-/* dummy header */
diff --git a/src/systemd/sd-adapt-core/nm-sd-adapt-core.c b/src/systemd/sd-adapt-core/nm-sd-adapt-core.c
deleted file mode 100644
index f0f85c43..00000000
--- a/src/systemd/sd-adapt-core/nm-sd-adapt-core.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * Copyright (C) 2014 - 2016 Red Hat, Inc.
- */
-
-#include "nm-default.h"
-
-#include "nm-sd-adapt-core.h"
-
-#include "fd-util.h"
-
-/*****************************************************************************/
-
-int
-asynchronous_close(int fd)
-{
-    safe_close(fd);
-    return -1;
-}
-
-/*****************************************************************************/
diff --git a/src/systemd/sd-adapt-core/nm-sd-adapt-core.h b/src/systemd/sd-adapt-core/nm-sd-adapt-core.h
deleted file mode 100644
index 0ec6ade1..00000000
--- a/src/systemd/sd-adapt-core/nm-sd-adapt-core.h
+++ /dev/null
@@ -1,85 +0,0 @@
-/* SPDX-License-Identifier: LGPL-2.1+ */
-/*
- * Copyright (C) 2014 - 2018 Red Hat, Inc.
- */
-
-#ifndef __NM_SD_ADAPT_CORE_H__
-#define __NM_SD_ADAPT_CORE_H__
-
-#include "nm-default.h"
-
-#include <stdbool.h>
-#include <sys/resource.h>
-#include <time.h>
-
-#include "systemd/sd-adapt-shared/nm-sd-adapt-shared.h"
-
-#ifndef HAVE_SYS_AUXV_H
-    #define HAVE_SYS_AUXV_H 0
-#endif
-
-/*****************************************************************************
- * The remainder of the header is only enabled when building the systemd code
- * itself.
- *****************************************************************************/
-
-#if (NETWORKMANAGER_COMPILATION) & NM_NETWORKMANAGER_COMPILATION_WITH_SYSTEMD
-
-    #include <netinet/in.h>
-    #include <string.h>
-    #include <stdio.h>
-    #include <errno.h>
-    #include <elf.h>
-    #ifdef HAVE_SYS_AUXV_H
-        #include <sys/auxv.h>
-    #endif
-    #include <unistd.h>
-    #include <sys/syscall.h>
-    #include <sys/ioctl.h>
-
-    /* Missing in Linux 3.2.0, in Ubuntu 12.04 */
-    #ifndef BPF_XOR
-        #define BPF_XOR 0xa0
-    #endif
-
-    #ifndef ETHERTYPE_LLDP
-        #define ETHERTYPE_LLDP 0x88cc
-    #endif
-
-    #ifndef HAVE_SECURE_GETENV
-        #ifdef HAVE___SECURE_GETENV
-            #define secure_getenv __secure_getenv
-        #else
-            #error neither secure_getenv nor __secure_getenv is available
-        #endif
-    #endif
-
-/*****************************************************************************/
-
-static inline int
-sd_notify(int unset_environment, const char *state)
-{
-    return 0;
-}
-
-    /* Can't include both net/if.h and linux/if.h; so have to define this here */
-    #ifndef IF_NAMESIZE
-        #define IF_NAMESIZE 16
-    #endif
-
-    #ifndef IFNAMSIZ
-        #define IFNAMSIZ IF_NAMESIZE
-    #endif
-
-    #ifndef MAX_HANDLE_SZ
-        #define MAX_HANDLE_SZ 128
-    #endif
-
-    #include "sd-id128.h"
-    #include "sparse-endian.h"
-    #include "async.h"
-    #include "util.h"
-
-#endif /* (NETWORKMANAGER_COMPILATION) & NM_NETWORKMANAGER_COMPILATION_WITH_SYSTEMD */
-
-#endif /* __NM_SD_ADAPT_CORE_H__ */
diff --git a/src/systemd/sd-adapt-core/sd-daemon.h b/src/systemd/sd-adapt-core/sd-daemon.h
deleted file mode 100644
index 637892c2..00000000
--- a/src/systemd/sd-adapt-core/sd-daemon.h
+++ /dev/null
@@ -1,3 +0,0 @@
-#pragma once
-
-/* dummy header */
diff --git a/src/systemd/sd-adapt-core/sd-device.h b/src/systemd/sd-adapt-core/sd-device.h
deleted file mode 100644
index 637892c2..00000000
--- a/src/systemd/sd-adapt-core/sd-device.h
+++ /dev/null
@@ -1,3 +0,0 @@
-#pragma once
-
-/* dummy header */
diff --git a/src/systemd/sd-adapt-core/udev-util.h b/src/systemd/sd-adapt-core/udev-util.h
deleted file mode 100644
index 637892c2..00000000
--- a/src/systemd/sd-adapt-core/udev-util.h
+++ /dev/null
@@ -1,3 +0,0 @@
-#pragma once
-
-/* dummy header */