diff options
author | Stéphane Doyon <s.doyon@videotron.ca> | 2007-10-10 03:12:17 +0000 |
---|---|---|
committer | Stéphane Doyon <s.doyon@videotron.ca> | 2007-10-10 03:12:17 +0000 |
commit | 3e31d509553efc5155c7b0b878fa1f24f8975bf0 (patch) | |
tree | 87700678b9828815df9a56020af1ab835e242273 /apps/talk.c | |
parent | d529a3845b1eefd396b0c0dbf177740357d03c0b (diff) | |
download | rockbox-3e31d509553efc5155c7b0b878fa1f24f8975bf0.tar.gz rockbox-3e31d509553efc5155c7b0b878fa1f24f8975bf0.zip |
Export shutup() function from talk.c.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15061 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/talk.c')
-rw-r--r-- | apps/talk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/talk.c b/apps/talk.c index afbbe5cf10..47410121ba 100644 --- a/apps/talk.c +++ b/apps/talk.c | |||
@@ -140,7 +140,7 @@ static void mp3_callback(unsigned char** start, size_t* size); | |||
140 | static int queue_clip(unsigned char* buf, long size, bool enqueue); | 140 | static int queue_clip(unsigned char* buf, long size, bool enqueue); |
141 | static int open_voicefile(void); | 141 | static int open_voicefile(void); |
142 | static unsigned char* get_clip(long id, long* p_size); | 142 | static unsigned char* get_clip(long id, long* p_size); |
143 | static int shutup(void); /* Interrupt voice, as when enqueue is false */ | 143 | int shutup(void); /* Interrupt voice, as when enqueue is false */ |
144 | 144 | ||
145 | /***************** Private implementation *****************/ | 145 | /***************** Private implementation *****************/ |
146 | 146 | ||
@@ -377,7 +377,7 @@ int do_shutup(void) | |||
377 | } | 377 | } |
378 | 378 | ||
379 | /* Shutup the voice, except if force_enqueue_next is set. */ | 379 | /* Shutup the voice, except if force_enqueue_next is set. */ |
380 | static int shutup(void) | 380 | int shutup(void) |
381 | { | 381 | { |
382 | if (!force_enqueue_next) | 382 | if (!force_enqueue_next) |
383 | return do_shutup(); | 383 | return do_shutup(); |