From: Tilghman Lesher Date: Thu, 15 Dec 2005 19:05:41 +0000 (+0000) Subject: Properly move these functions over to the funcs directory (since they no longer conta... X-Git-Tag: 1.4.0-beta1~3190 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbab53737556bd193a4c929c335d3a4544b794f0;p=thirdparty%2Fasterisk.git Properly move these functions over to the funcs directory (since they no longer contain apps) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7496 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/Makefile b/apps/Makefile index 841977b295..28ce6d8eff 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 6922fc3139..f0702215e1 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 @@ -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(,,)\n"); break; case 0: break;