aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2005-12-15 19:05:41 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2005-12-15 19:05:41 +0000
commitf23c1fcb31d157f2653b05381f425392d703caeb (patch)
treea2e5111f5ccd0b8e422c0d2cb5972a8840c29abb
parent5cfa090d9bd553424431aec4fa53d06481e7c0d6 (diff)
Properly move these functions over to the funcs directory (since they no longer contain apps)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7496 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--apps/Makefile3
-rw-r--r--funcs/func_cut.c (renamed from apps/app_cut.c)6
2 files changed, 4 insertions, 5 deletions
diff --git a/apps/Makefile b/apps/Makefile
index 841977b29..28ce6d8ef 100644
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -24,8 +24,7 @@ APPS=app_adsiprog.so app_alarmreceiver.so app_authenticate.so app_cdr.so \
app_setcdruserfield.so app_settransfercapability.so app_softhangup.so \
app_stack.so app_system.so app_talkdetect.so app_test.so app_transfer.so \
app_userevent.so app_url.so app_verbose.so app_voicemail.so \
- app_waitforring.so app_waitforsilence.so app_while.so app_zapateller.so \
- app_cut.so
+ app_waitforring.so app_waitforsilence.so app_while.so app_zapateller.so
#
# Obsolete things...
diff --git a/apps/app_cut.c b/funcs/func_cut.c
index 6922fc313..f0702215e 100644
--- a/apps/app_cut.c
+++ b/funcs/func_cut.c
@@ -16,9 +16,9 @@
*/
/*! \file
- * \brief Cut application
+ * \brief CUT function
*
- * \ingroup applications
+ * \ingroup functions
*/
#include <stdio.h>
@@ -269,7 +269,7 @@ static char *acf_cut_exec(struct ast_channel *chan, char *cmd, char *data, char
ast_log(LOG_ERROR, "Out of memory\n");
break;
case ERROR_USAGE:
- ast_log(LOG_ERROR, "Usage: %s\n", cut_synopsis);
+ ast_log(LOG_ERROR, "Usage: CUT(<varname>,<char-delim>,<range-spec>)\n");
break;
case 0:
break;