chiark / gitweb /
bus: remove static introspection file export
[elogind.git] / src / locale / localed.c
index 3cac634a4c6f83dd21dffed9741afeae44e08b48..0b5f97ee8b9af9e4f8331cadb54297ed298bd81b 100644 (file)
@@ -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;