summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2016-12-05 20:28:24 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2016-12-05 20:28:24 +0100
commitd7d73ffc8f575a5fd24714dd121f40828eb61a41 (patch)
tree2c0e0fb7bbd9c759b5f41a87d8e074919ab90ee7 /lib/command.c
parent7ddcfca4fb5246c5e211f7e37d98a8c9a51b4e70 (diff)
*: fix up DEFUNs without install_element calls
These now generate warnings which will break the build with -Werror. Note this may have enabled commands that should be disabled, or the other way around... Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/command.c')
-rw-r--r--lib/command.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/command.c b/lib/command.c
index e51ff837aa..092037bc1d 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -2069,21 +2069,6 @@ DEFUN (config_log_syslog,
}
}
-DEFUN_DEPRECATED (config_log_syslog_facility,
- config_log_syslog_facility_cmd,
- "log syslog facility (kern|user|mail|daemon|auth|syslog|lpr|news|uucp|cron|local0|local1|local2|local3|local4|local5|local6|local7)",
- "Logging control\n"
- "Logging goes to syslog\n"
- "(Deprecated) Facility parameter for syslog messages\n"
- LOG_FACILITY_DESC)
-{
- int facility = facility_match(argv[3]->arg);
-
- zlog_set_level (NULL, ZLOG_DEST_SYSLOG, zlog_default->default_lvl);
- zlog_default->facility = facility;
- return CMD_SUCCESS;
-}
-
DEFUN (no_config_log_syslog,
no_config_log_syslog_cmd,
"no log syslog [<kern|user|mail|daemon|auth|syslog|lpr|news|uucp|cron|local0|local1|local2|local3|local4|local5|local6|local7>] [<emergencies|alerts|critical|errors|warnings|notifications|informational|debugging>]",