[systemd-commits] 2 commits - configure.ac .gitignore introspect.awk Makefile.am man/systemd.xml src/core src/locale src/shared

Kay Sievers kay at kemper.freedesktop.org
Sun Oct 20 16:02:26 PDT 2013


 .gitignore                |    4 ---
 Makefile.am               |   55 ----------------------------------------------
 configure.ac              |    1 
 introspect.awk            |   13 ----------
 man/systemd.xml           |   14 -----------
 src/core/dbus-automount.c |    2 -
 src/core/dbus-device.c    |    2 -
 src/core/dbus-job.c       |    2 -
 src/core/dbus-manager.c   |    2 -
 src/core/dbus-mount.c     |    2 -
 src/core/dbus-path.c      |    2 -
 src/core/dbus-scope.c     |    2 -
 src/core/dbus-service.c   |    2 -
 src/core/dbus-slice.c     |    2 -
 src/core/dbus-snapshot.c  |    2 -
 src/core/dbus-socket.c    |    2 -
 src/core/dbus-swap.c      |    2 -
 src/core/dbus-target.c    |    2 -
 src/core/dbus-timer.c     |    2 -
 src/core/dbus-unit.c      |    2 -
 src/core/dbus.c           |    5 ++--
 src/core/main.c           |   24 --------------------
 src/locale/localed.c      |   10 --------
 src/shared/macro.h        |    1 
 24 files changed, 20 insertions(+), 137 deletions(-)

New commits:
commit bd4b5df2cb253f130ecdac604e865e3f832c316a
Author: Kay Sievers <kay at vrfy.org>
Date:   Mon Oct 21 00:56:47 2013 +0200

    bus: initialize variable, now that we might skip debug logging

diff --git a/src/core/dbus.c b/src/core/dbus.c
index 771ba01..b0ae3e1 100644
--- a/src/core/dbus.c
+++ b/src/core/dbus.c
@@ -768,7 +768,7 @@ static void bus_new_connection(
 }
 
 static int init_registered_system_bus(Manager *m) {
-        char *id;
+        char *id = NULL;
 
         if (!dbus_connection_add_filter(m->system_bus, system_bus_message_filter, m, NULL))
                 return log_oom();
@@ -836,7 +836,8 @@ static int init_registered_api_bus(Manager *m) {
                 return r;
 
         if (m->running_as == SYSTEMD_USER) {
-                char *id;
+                char *id = NULL;
+
                 log_debug("Successfully connected to API D-Bus bus %s as %s",
                          strnull((id = dbus_connection_get_server_id(m->api_bus))),
                          strnull(dbus_bus_get_unique_name(m->api_bus)));

commit ca2871d9b027018c108e0cf7bbc4e5a919e300c3
Author: Kay Sievers <kay at vrfy.org>
Date:   Mon Oct 21 00:38:19 2013 +0200

    bus: remove static introspection file export

diff --git a/.gitignore b/.gitignore
index f5acfce..6253e0d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,10 +17,6 @@
 /loginctl
 /machinectl
 /mtd_probe
-/org.freedesktop.hostname1.xml
-/org.freedesktop.locale1.xml
-/org.freedesktop.systemd1.*.xml
-/org.freedesktop.timedate1.xml
 /scsi_id
 /systemadm
 /systemctl
diff --git a/Makefile.am b/Makefile.am
index ccf8621..379e878 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -63,7 +63,6 @@ LIBSYSTEMD_JOURNAL_AGE=11
 dbuspolicydir=@dbuspolicydir@
 dbussessionservicedir=@dbussessionservicedir@
 dbussystemservicedir=@dbussystemservicedir@
-dbusinterfacedir=@dbusinterfacedir@
 pamlibdir=@pamlibdir@
 pamconfdir=@pamconfdir@
 pkgconfigdatadir=$(datadir)/pkgconfig
@@ -127,7 +126,6 @@ nodist_udevrules_DATA =
 dist_pkgsysconf_DATA =
 dist_pkgdata_DATA =
 dist_dbuspolicy_DATA =
-dbusinterface_DATA =
 dist_dbussystemservice_DATA =
 check_PROGRAMS =
 check_DATA =
@@ -499,8 +497,7 @@ EXTRA_DIST += \
 	units/initrd-cleanup.service.in \
 	units/initrd-udevadm-cleanup-db.service.in \
 	units/initrd-switch-root.service.in \
-	units/systemd-nspawn at .service.in \
-	introspect.awk
+	units/systemd-nspawn at .service.in
 
 CLEANFILES += \
 	units/console-shell.service.m4 \
@@ -1078,29 +1075,9 @@ dist_dbuspolicy_DATA += \
 dist_dbussystemservice_DATA += \
 	src/core/org.freedesktop.systemd1.service
 
-dbusinterface_DATA += \
-	org.freedesktop.systemd1.Manager.xml \
-	org.freedesktop.systemd1.Job.xml \
-	org.freedesktop.systemd1.Unit.xml \
-	org.freedesktop.systemd1.Service.xml \
-	org.freedesktop.systemd1.Socket.xml \
-	org.freedesktop.systemd1.Timer.xml \
-	org.freedesktop.systemd1.Target.xml \
-	org.freedesktop.systemd1.Device.xml \
-	org.freedesktop.systemd1.Mount.xml \
-	org.freedesktop.systemd1.Automount.xml \
-	org.freedesktop.systemd1.Snapshot.xml \
-	org.freedesktop.systemd1.Swap.xml \
-	org.freedesktop.systemd1.Path.xml
-
 polkitpolicy_in_in_files += \
 	src/core/org.freedesktop.systemd1.policy.in.in
 
-org.freedesktop.systemd1.%.xml: systemd
-	$(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.$* $< $@.tmp && \
-		$(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
-		$(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
-
 pkgconfigdata_DATA = \
 	src/core/systemd.pc
 
@@ -3483,14 +3460,6 @@ dist_dbussystemservice_DATA += \
 polkitpolicy_files += \
 	src/hostname/org.freedesktop.hostname1.policy
 
-dbusinterface_DATA += \
-	org.freedesktop.hostname1.xml
-
-org.freedesktop.hostname1.xml: systemd-hostnamed
-	$(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.hostname1 $< $@.tmp && \
-		$(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
-		$(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
-
 SYSTEM_UNIT_ALIASES += \
 	systemd-hostnamed.service dbus-org.freedesktop.hostname1.service
 
@@ -3553,14 +3522,6 @@ dist_dbussystemservice_DATA += \
 polkitpolicy_files += \
 	src/locale/org.freedesktop.locale1.policy
 
-dbusinterface_DATA += \
-	org.freedesktop.locale1.xml
-
-org.freedesktop.locale1.xml: systemd-localed
-	$(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.locale1 $< $@.tmp && \
-		$(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
-		$(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
-
 SYSTEM_UNIT_ALIASES += \
 	systemd-localed.service dbus-org.freedesktop.locale1.service
 
@@ -3628,14 +3589,6 @@ nodist_systemunit_DATA += \
 polkitpolicy_files += \
 	src/timedate/org.freedesktop.timedate1.policy
 
-org.freedesktop.timedate1.xml: systemd-timedated
-	$(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.timedate1 $< $@.tmp && \
-		$(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
-		$(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
-
-dbusinterface_DATA += \
-	org.freedesktop.timedate1.xml
-
 INSTALL_DIRS += \
 	$(prefix)/lib/systemd/ntp-units.d \
 	$(sysconfdir)/systemd/ntp-units.d
@@ -4400,11 +4353,6 @@ EXTRA_DIST += \
 	man/custom-man.xsl
 
 # ------------------------------------------------------------------------------
-DBUS_PREPROCESS = $(CPP) -P $(CFLAGS) $(DBUS_CFLAGS) -imacros dbus/dbus-protocol.h
-
-CLEANFILES += \
-	$(dbusinterface_DATA)
-
 if HAVE_SYSV_COMPAT
 sysvinit_DATA = \
 	docs/sysvinit/README
@@ -4538,7 +4486,6 @@ DISTCHECK_CONFIGURE_FLAGS = \
 	--with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \
 	--with-dbussessionservicedir=$$dc_install_base/$(dbussessionservicedir) \
 	--with-dbussystemservicedir=$$dc_install_base/$(dbussystemservicedir) \
-	--with-dbusinterfacedir=$$dc_install_base/$(dbusinterfacedir) \
 	--with-bashcompletiondir=$$dc_install_base/$(bashcompletiondir) \
 	--with-zshcompletiondir=$$dc_install_base/$(zshcompletiondir) \
 	--with-pamlibdir=$$dc_install_base/$(pamlibdir) \
diff --git a/configure.ac b/configure.ac
index b0ad789..b09f333 100644
--- a/configure.ac
+++ b/configure.ac
@@ -94,7 +94,6 @@ GOBJECT_INTROSPECTION_CHECK([1.31.1])
    AM_CONDITIONAL([HAVE_INTROSPECTION], [false])
    enable_introspection=no])
 
-AC_CHECK_TOOL(OBJCOPY, objcopy)
 AC_CHECK_TOOL(STRINGS, strings)
 AC_CHECK_TOOL(GPERF, gperf)
 if test -z "$GPERF" ; then
diff --git a/introspect.awk b/introspect.awk
deleted file mode 100644
index 5931913..0000000
--- a/introspect.awk
+++ /dev/null
@@ -1,13 +0,0 @@
-BEGIN {
-	print "<!DOCTYPE node PUBLIC DBUS_INTROSPECT_1_0_XML_PUBLIC_IDENTIFIER"
-	print "DBUS_INTROSPECT_1_0_XML_SYSTEM_IDENTIFIER>"
-	print "<node>"
-}
-
-// {
-	print
-}
-
-END {
-	print "</node>"
-}
diff --git a/man/systemd.xml b/man/systemd.xml
index 85c06d3..10ce375 100644
--- a/man/systemd.xml
+++ b/man/systemd.xml
@@ -119,20 +119,6 @@
                                 definition files.</para></listitem>
                         </varlistentry>
                         <varlistentry>
-                                <term><option>--introspect=</option></term>
-
-                                <listitem><para>Extract D-Bus
-                                interface introspection data. This is
-                                mostly useful at install time
-                                to generate data suitable for the
-                                D-Bus interfaces
-                                repository. Optionally the interface
-                                name for the introspection data may be
-                                specified. If omitted, the
-                                introspection data for all interfaces
-                                is dumped.</para></listitem>
-                        </varlistentry>
-                        <varlistentry>
                                 <term><option>--unit=</option></term>
 
                                 <listitem><para>Set default unit to
diff --git a/src/core/dbus-automount.c b/src/core/dbus-automount.c
index 060cbf7..720f9ba 100644
--- a/src/core/dbus-automount.c
+++ b/src/core/dbus-automount.c
@@ -47,7 +47,7 @@
         BUS_UNIT_INTERFACES_LIST                     \
         "org.freedesktop.systemd1.Automount\0"
 
-const char bus_automount_interface[] _introspect_("Automount") = BUS_AUTOMOUNT_INTERFACE;
+const char bus_automount_interface[] = BUS_AUTOMOUNT_INTERFACE;
 
 const char bus_automount_invalidating_properties[] =
         "Result\0";
diff --git a/src/core/dbus-device.c b/src/core/dbus-device.c
index dbd91fe..ef484a8 100644
--- a/src/core/dbus-device.c
+++ b/src/core/dbus-device.c
@@ -43,7 +43,7 @@
         BUS_UNIT_INTERFACES_LIST                     \
         "org.freedesktop.systemd1.Device\0"
 
-const char bus_device_interface[] _introspect_("Device") = BUS_DEVICE_INTERFACE;
+const char bus_device_interface[] = BUS_DEVICE_INTERFACE;
 
 const char bus_device_invalidating_properties[] =
         "SysFSPath\0";
diff --git a/src/core/dbus-job.c b/src/core/dbus-job.c
index eac2448..e1d7504 100644
--- a/src/core/dbus-job.c
+++ b/src/core/dbus-job.c
@@ -45,7 +45,7 @@
         BUS_INTROSPECTABLE_INTERFACE                                  \
         "</node>\n"
 
-const char bus_job_interface[] _introspect_("Job") = BUS_JOB_INTERFACE;
+const char bus_job_interface[] = BUS_JOB_INTERFACE;
 
 #define INTERFACES_LIST                              \
         BUS_GENERIC_INTERFACES_LIST                  \
diff --git a/src/core/dbus-manager.c b/src/core/dbus-manager.c
index 8f4d017..46f55d0 100644
--- a/src/core/dbus-manager.c
+++ b/src/core/dbus-manager.c
@@ -321,7 +321,7 @@
         BUS_GENERIC_INTERFACES_LIST                  \
         "org.freedesktop.systemd1.Manager\0"
 
-const char bus_manager_interface[] _introspect_("Manager") = BUS_MANAGER_INTERFACE;
+const char bus_manager_interface[] = BUS_MANAGER_INTERFACE;
 
 static DEFINE_BUS_PROPERTY_APPEND_ENUM(bus_manager_append_exec_output, exec_output, ExecOutput);
 
diff --git a/src/core/dbus-mount.c b/src/core/dbus-mount.c
index 72e1870..70b2d48 100644
--- a/src/core/dbus-mount.c
+++ b/src/core/dbus-mount.c
@@ -62,7 +62,7 @@
         BUS_UNIT_INTERFACES_LIST                     \
         "org.freedesktop.systemd1.Mount\0"
 
-const char bus_mount_interface[] _introspect_("Mount") = BUS_MOUNT_INTERFACE;
+const char bus_mount_interface[] = BUS_MOUNT_INTERFACE;
 
 const char bus_mount_invalidating_properties[] =
         "What\0"
diff --git a/src/core/dbus-path.c b/src/core/dbus-path.c
index 1e62083..a523b81 100644
--- a/src/core/dbus-path.c
+++ b/src/core/dbus-path.c
@@ -50,7 +50,7 @@
         BUS_UNIT_INTERFACES_LIST                     \
         "org.freedesktop.systemd1.Path\0"
 
-const char bus_path_interface[] _introspect_("Path") = BUS_PATH_INTERFACE;
+const char bus_path_interface[] = BUS_PATH_INTERFACE;
 
 const char bus_path_invalidating_properties[] =
         "Result\0";
diff --git a/src/core/dbus-scope.c b/src/core/dbus-scope.c
index 783a969..c790d26 100644
--- a/src/core/dbus-scope.c
+++ b/src/core/dbus-scope.c
@@ -51,7 +51,7 @@
         BUS_UNIT_INTERFACES_LIST                     \
         "org.freedesktop.systemd1.Scope\0"
 
-const char bus_scope_interface[] _introspect_("Scope") = BUS_SCOPE_INTERFACE;
+const char bus_scope_interface[] = BUS_SCOPE_INTERFACE;
 
 static DEFINE_BUS_PROPERTY_APPEND_ENUM(bus_scope_append_scope_result, scope_result, ScopeResult);
 
diff --git a/src/core/dbus-service.c b/src/core/dbus-service.c
index 696c446..c888570 100644
--- a/src/core/dbus-service.c
+++ b/src/core/dbus-service.c
@@ -81,7 +81,7 @@
         BUS_UNIT_INTERFACES_LIST                     \
         "org.freedesktop.systemd1.Service\0"
 
-const char bus_service_interface[] _introspect_("Service") = BUS_SERVICE_INTERFACE;
+const char bus_service_interface[] = BUS_SERVICE_INTERFACE;
 
 const char bus_service_invalidating_properties[] =
         "ExecStartPre\0"
diff --git a/src/core/dbus-slice.c b/src/core/dbus-slice.c
index dac9fbd..eeefcdb 100644
--- a/src/core/dbus-slice.c
+++ b/src/core/dbus-slice.c
@@ -47,7 +47,7 @@
         BUS_UNIT_INTERFACES_LIST                     \
         "org.freedesktop.systemd1.Slice\0"
 
-const char bus_slice_interface[] _introspect_("Slice") = BUS_SLICE_INTERFACE;
+const char bus_slice_interface[] = BUS_SLICE_INTERFACE;
 
 DBusHandlerResult bus_slice_message_handler(Unit *u, DBusConnection *c, DBusMessage *message) {
         Slice *s = SLICE(u);
diff --git a/src/core/dbus-snapshot.c b/src/core/dbus-snapshot.c
index 2ae8574..9978df6 100644
--- a/src/core/dbus-snapshot.c
+++ b/src/core/dbus-snapshot.c
@@ -44,7 +44,7 @@
         BUS_UNIT_INTERFACES_LIST                     \
         "org.freedesktop.systemd1.Snapshot\0"
 
-const char bus_snapshot_interface[] _introspect_("Snapshot") = BUS_SNAPSHOT_INTERFACE;
+const char bus_snapshot_interface[] = BUS_SNAPSHOT_INTERFACE;
 
 static const BusProperty bus_snapshot_properties[] = {
         { "Cleanup", bus_property_append_bool, "b", offsetof(Snapshot, cleanup) },
diff --git a/src/core/dbus-socket.c b/src/core/dbus-socket.c
index 30c4b63..60a8d05 100644
--- a/src/core/dbus-socket.c
+++ b/src/core/dbus-socket.c
@@ -87,7 +87,7 @@
         BUS_UNIT_INTERFACES_LIST                     \
         "org.freedesktop.systemd1.Socket\0"
 
-const char bus_socket_interface[] _introspect_("Socket") = BUS_SOCKET_INTERFACE;
+const char bus_socket_interface[] = BUS_SOCKET_INTERFACE;
 
 const char bus_socket_invalidating_properties[] =
         "ExecStartPre\0"
diff --git a/src/core/dbus-swap.c b/src/core/dbus-swap.c
index 06edfdc..0da86bd 100644
--- a/src/core/dbus-swap.c
+++ b/src/core/dbus-swap.c
@@ -59,7 +59,7 @@
         BUS_UNIT_INTERFACES_LIST                     \
         "org.freedesktop.systemd1.Swap\0"
 
-const char bus_swap_interface[] _introspect_("Swap") = BUS_SWAP_INTERFACE;
+const char bus_swap_interface[] = BUS_SWAP_INTERFACE;
 
 const char bus_swap_invalidating_properties[] =
         "What\0"
diff --git a/src/core/dbus-target.c b/src/core/dbus-target.c
index 6a77550..f143d89 100644
--- a/src/core/dbus-target.c
+++ b/src/core/dbus-target.c
@@ -44,7 +44,7 @@
         BUS_UNIT_INTERFACES_LIST                     \
         "org.freedesktop.systemd1.Target\0"
 
-const char bus_target_interface[] _introspect_("Target") = BUS_TARGET_INTERFACE;
+const char bus_target_interface[] = BUS_TARGET_INTERFACE;
 
 DBusHandlerResult bus_target_message_handler(Unit *u, DBusConnection *c, DBusMessage *message) {
         const BusBoundProperties bps[] = {
diff --git a/src/core/dbus-timer.c b/src/core/dbus-timer.c
index 4082f7f..c6f1dd9 100644
--- a/src/core/dbus-timer.c
+++ b/src/core/dbus-timer.c
@@ -51,7 +51,7 @@
         BUS_UNIT_INTERFACES_LIST                     \
         "org.freedesktop.systemd1.Timer\0"
 
-const char bus_timer_interface[] _introspect_("Timer") = BUS_TIMER_INTERFACE;
+const char bus_timer_interface[] = BUS_TIMER_INTERFACE;
 
 const char bus_timer_invalidating_properties[] =
         "TimersMonotonic\0"
diff --git a/src/core/dbus-unit.c b/src/core/dbus-unit.c
index b6f5c39..032915d 100644
--- a/src/core/dbus-unit.c
+++ b/src/core/dbus-unit.c
@@ -32,7 +32,7 @@
 #include "path-util.h"
 #include "fileio.h"
 
-const char bus_unit_interface[] _introspect_("Unit") = BUS_UNIT_INTERFACE;
+const char bus_unit_interface[] = BUS_UNIT_INTERFACE;
 
 #define INVALIDATING_PROPERTIES                 \
         "LoadState\0"                           \
diff --git a/src/core/main.c b/src/core/main.c
index fe291f8..5d30893 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -735,7 +735,6 @@ static int parse_argv(int argc, char *argv[]) {
                 ARG_SHOW_STATUS,
                 ARG_DESERIALIZE,
                 ARG_SWITCHED_ROOT,
-                ARG_INTROSPECT,
                 ARG_DEFAULT_STD_OUTPUT,
                 ARG_DEFAULT_STD_ERROR
         };
@@ -758,7 +757,6 @@ static int parse_argv(int argc, char *argv[]) {
                 { "show-status",              optional_argument, NULL, ARG_SHOW_STATUS              },
                 { "deserialize",              required_argument, NULL, ARG_DESERIALIZE              },
                 { "switched-root",            no_argument,       NULL, ARG_SWITCHED_ROOT            },
-                { "introspect",               optional_argument, NULL, ARG_INTROSPECT               },
                 { "default-standard-output",  required_argument, NULL, ARG_DEFAULT_STD_OUTPUT,      },
                 { "default-standard-error",   required_argument, NULL, ARG_DEFAULT_STD_ERROR,       },
                 { NULL,                       0,                 NULL, 0                            }
@@ -930,27 +928,6 @@ static int parse_argv(int argc, char *argv[]) {
                         arg_switched_root = true;
                         break;
 
-                case ARG_INTROSPECT: {
-                        const char * const * i = NULL;
-
-                        for (i = bus_interface_table; *i; i += 2)
-                                if (!optarg || streq(i[0], optarg)) {
-                                        fputs(DBUS_INTROSPECT_1_0_XML_DOCTYPE_DECL_NODE
-                                              "<node>\n", stdout);
-                                        fputs(i[1], stdout);
-                                        fputs("</node>\n", stdout);
-
-                                        if (optarg)
-                                                break;
-                                }
-
-                        if (!i[0] && optarg)
-                                log_error("Unknown interface %s.", optarg);
-
-                        arg_action = ACTION_DONE;
-                        break;
-                }
-
                 case 'h':
                         arg_action = ACTION_HELP;
                         break;
@@ -1013,7 +990,6 @@ static int help(void) {
                "  -h --help                      Show this help\n"
                "     --test                      Determine startup sequence, dump it and exit\n"
                "     --dump-configuration-items  Dump understood unit configuration items\n"
-               "     --introspect[=INTERFACE]    Extract D-Bus interface data\n"
                "     --unit=UNIT                 Set default unit\n"
                "     --system                    Run a system instance, even if PID != 1\n"
                "     --user                      Run a user instance\n"
diff --git a/src/locale/localed.c b/src/locale/localed.c
index 3cac634..0b5f97e 100644
--- a/src/locale/localed.c
+++ b/src/locale/localed.c
@@ -78,7 +78,7 @@
         BUS_GENERIC_INTERFACES_LIST             \
         "org.freedesktop.locale1\0"
 
-const char locale_interface[] _introspect_("locale1") = INTERFACE;
+const char locale_interface[] = INTERFACE;
 
 enum {
         /* We don't list LC_ALL here on purpose. People should be
@@ -1336,14 +1336,6 @@ int main(int argc, char *argv[]) {
         label_init("/etc");
         umask(0022);
 
-        if (argc == 2 && streq(argv[1], "--introspect")) {
-                fputs(DBUS_INTROSPECT_1_0_XML_DOCTYPE_DECL_NODE
-                      "<node>\n", stdout);
-                fputs(locale_interface, stdout);
-                fputs("</node>\n", stdout);
-                return 0;
-        }
-
         if (argc != 1) {
                 log_error("This program takes no arguments.");
                 r = -EINVAL;
diff --git a/src/shared/macro.h b/src/shared/macro.h
index 3cf17bb..d3f4245 100644
--- a/src/shared/macro.h
+++ b/src/shared/macro.h
@@ -44,7 +44,6 @@
 #define _public_ __attribute__ ((visibility("default")))
 #define _hidden_ __attribute__ ((visibility("hidden")))
 #define _weakref_(x) __attribute__((weakref(#x)))
-#define _introspect_(x) __attribute__((section("introspect." x)))
 #define _alignas_(x) __attribute__((aligned(__alignof(x))))
 #define _cleanup_(x) __attribute__((cleanup(x)))
 



More information about the systemd-commits mailing list