aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/app.h
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-31 00:11:45 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-31 00:11:45 +0000
commitaee3a9731a48cb0204ee47796da42f76c1e49de1 (patch)
tree9e428b01715ddf5a74031e3dd625f6de3aa7a217 /include/asterisk/app.h
parent7bcf51bdaa05a042b84ff8858fb034739999e78a (diff)
remove useless 'extern' in function declarations.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16611 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/app.h')
-rw-r--r--include/asterisk/app.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/asterisk/app.h b/include/asterisk/app.h
index ace498286..5a13957ae 100644
--- a/include/asterisk/app.h
+++ b/include/asterisk/app.h
@@ -80,7 +80,7 @@ struct ast_ivr_menu {
/*! \brief Runs an IVR menu
\return returns 0 on successful completion, -1 on hangup, or -2 on user error in menu */
-extern int ast_ivr_menu_run(struct ast_channel *c, struct ast_ivr_menu *menu, void *cbdata);
+int ast_ivr_menu_run(struct ast_channel *c, struct ast_ivr_menu *menu, void *cbdata);
/*! \brief Plays a stream and gets DTMF data from a channel
* \param c Which channel one is interacting with
@@ -94,10 +94,10 @@ extern int ast_ivr_menu_run(struct ast_channel *c, struct ast_ivr_menu *menu, vo
* is pressed during playback, it will immediately break out of the message and continue
* execution of your code.
*/
-extern int ast_app_getdata(struct ast_channel *c, char *prompt, char *s, int maxlen, int timeout);
+int ast_app_getdata(struct ast_channel *c, char *prompt, char *s, int maxlen, int timeout);
/*! \brief Full version with audiofd and controlfd. NOTE: returns '2' on ctrlfd available, not '1' like other full functions */
-extern int ast_app_getdata_full(struct ast_channel *c, char *prompt, char *s, int maxlen, int timeout, int audiofd, int ctrlfd);
+int ast_app_getdata_full(struct ast_channel *c, char *prompt, char *s, int maxlen, int timeout, int audiofd, int ctrlfd);
/*! Record voice (after playing prompt if specified), waiting for silence (in ms) up to a given timeout (in s) or '#' */
int ast_app_getvoice(struct ast_channel *c, char *dest, char *dstfmt, char *prompt, int silence, int maxsec);
@@ -116,7 +116,7 @@ int ast_app_messagecount(const char *mailbox, int *newmsgs, int *oldmsgs);
/*! Safely spawn an external program while closing file descriptors
\note This replaces the \b system call in all Asterisk modules
*/
-extern int ast_safe_system(const char *s);
+int ast_safe_system(const char *s);
/*!
\brief Send DTMF to a channel