From 420ae56cec28c5c99d568b3b1c904fedc5c05a57 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Thu, 12 Jan 2012 20:49:19 +0100 Subject: rbspeex: make local functions static. --- tools/rbspeex/rbspeex.c | 5 ++++- tools/rbspeex/rbspeex.h | 2 -- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tools/rbspeex/rbspeex.c b/tools/rbspeex/rbspeex.c index b72ff381d9..88b18c7c85 100644 --- a/tools/rbspeex/rbspeex.c +++ b/tools/rbspeex/rbspeex.c @@ -25,7 +25,10 @@ #include #include -#include "rbspeex.h" +#include "rbspeex.h" + +static unsigned int get_long_le(unsigned char *p); +static bool get_wave_metadata(FILE *fd, int *numchan, int *bps, int *sr, int *numsamples); /* Read an unaligned 32-bit little endian long from buffer. */ unsigned int get_long_le(unsigned char *p) diff --git a/tools/rbspeex/rbspeex.h b/tools/rbspeex/rbspeex.h index 992bea8de5..13f4481dcb 100644 --- a/tools/rbspeex/rbspeex.h +++ b/tools/rbspeex/rbspeex.h @@ -27,8 +27,6 @@ extern "C" { #endif -unsigned int get_long_le(unsigned char *p); -bool get_wave_metadata(FILE *fd, int *numchan, int *bps, int *sr, int *numsamples); bool encode_file(FILE *fin, FILE *fout, float quality, int complexity, bool narrowband, float volume, char *errstr, size_t errlen); -- cgit v1.2.3