summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2012-01-12 20:49:19 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2012-01-12 20:49:19 +0100
commit420ae56cec28c5c99d568b3b1c904fedc5c05a57 (patch)
tree18fb842bdb6da300108fb8ea183ab2d1a1cceba9
parenteb2ea7f9ad4c4e2cce390f8fe73e17698fa9a906 (diff)
downloadrockbox-420ae56cec28c5c99d568b3b1c904fedc5c05a57.tar.gz
rockbox-420ae56cec28c5c99d568b3b1c904fedc5c05a57.zip
rbspeex: make local functions static.
-rw-r--r--tools/rbspeex/rbspeex.c5
-rw-r--r--tools/rbspeex/rbspeex.h2
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 @@
25#include <string.h> 25#include <string.h>
26#include <stdbool.h> 26#include <stdbool.h>
27 27
28#include "rbspeex.h" 28#include "rbspeex.h"
29
30static unsigned int get_long_le(unsigned char *p);
31static bool get_wave_metadata(FILE *fd, int *numchan, int *bps, int *sr, int *numsamples);
29 32
30/* Read an unaligned 32-bit little endian long from buffer. */ 33/* Read an unaligned 32-bit little endian long from buffer. */
31unsigned int get_long_le(unsigned char *p) 34unsigned 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 @@
27extern "C" { 27extern "C" {
28#endif 28#endif
29 29
30unsigned int get_long_le(unsigned char *p);
31bool get_wave_metadata(FILE *fd, int *numchan, int *bps, int *sr, int *numsamples);
32bool encode_file(FILE *fin, FILE *fout, float quality, int complexity, 30bool encode_file(FILE *fin, FILE *fout, float quality, int complexity,
33 bool narrowband, float volume, char *errstr, size_t errlen); 31 bool narrowband, float volume, char *errstr, size_t errlen);
34 32