summaryrefslogtreecommitdiff
path: root/formats
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-01-28 21:06:03 +0000
committerMark Spencer <markster@digium.com>2004-01-28 21:06:03 +0000
commit32e131862dc531897a4d86ba833f18b1b12daf1c (patch)
tree4e28fe56e5e8e26ca212b2f33694480740c107c9 /formats
parent1c838758c339cba9be1cf3e373fd385083cd2c7c (diff)
Elminate unused code/warnings (bug #934)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2085 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'formats')
-rwxr-xr-xformats/format_pcm_alaw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/formats/format_pcm_alaw.c b/formats/format_pcm_alaw.c
index d7d375edb..62103068d 100755
--- a/formats/format_pcm_alaw.c
+++ b/formats/format_pcm_alaw.c
@@ -62,6 +62,7 @@ static char *desc = "Raw aLaw 8khz PCM Audio support";
static char *exts = "alaw|al";
+#if 0
/* Returns time in msec since system boot. */
static unsigned long get_time(void)
{
@@ -76,6 +77,7 @@ static unsigned long get_time(void)
}
return cur * 1000 / sysconf( _SC_CLK_TCK );
}
+#endif
static struct ast_filestream *pcm_open(int fd)
{