summaryrefslogtreecommitdiff
path: root/src/locale
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-10-21 00:38:19 +0200
committerKay Sievers <kay@vrfy.org>2013-10-21 00:41:26 +0200
commitca2871d9b027018c108e0cf7bbc4e5a919e300c3 (patch)
treece34890664ad9cfabd30d4314c22935aa928515f /src/locale
parentaf8601fa8b035426bba7916ebe08e4568d2e2cbd (diff)
bus: remove static introspection file export
Diffstat (limited to 'src/locale')
-rw-r--r--src/locale/localed.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/locale/localed.c b/src/locale/localed.c
index 3cac634a4c..0b5f97ee8b 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;