diff --git a/apps/Makefile b/apps/Makefile index 841977b29514efc7f0a4fc7a134bba3923903152..28ce6d8eff49d5a10a33444e06b9ab3da580bb11 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 similarity index 98% rename from apps/app_cut.c rename to funcs/func_cut.c index 6922fc31397a4fe53e8198a2da007fa07f5c66d9..f0702215e1bfa943b6f915fa74ae59a5b47e0099 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;