From 0351c0ec093a7022aec4e867089e55ccf7ff2a6f Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 7 Mar 2019 17:59:10 +0000 Subject: [PATCH] fcst: Remove ft_cmd_flag() This function is no longer used. r8010 removed the last user of this function. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8013 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- fcst/ft_cmd.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/fcst/ft_cmd.c b/fcst/ft_cmd.c index 31cac8a43..92eb069e3 100644 --- a/fcst/ft_cmd.c +++ b/fcst/ft_cmd.c @@ -20,17 +20,6 @@ #include #include "fcst.h" -/* - * Append string to buffer safely. - * Also prepends a space if there's already something the buf. - */ -static void ft_cmd_flag(char *buf, size_t len, const char *desc) -{ - if (buf[0]) - strlcat(buf, " ", len); - strlcat(buf, desc, len); -} - /* * ft_set_cmd_state() - set the state of a command */