[xiph-cvs] cvs commit: avl avl.c
Brendan
brendan at xiph.org
Sun Jul 6 18:40:08 PDT 2003
brendan 03/07/06 21:40:08
Modified: src mp3.c shout.c
. avl.c
Log:
I missed a spot. And another one.
Revision Changes Path
1.12 +2 -2 libshout/src/mp3.c
Index: mp3.c
===================================================================
RCS file: /usr/local/cvsroot/libshout/src/mp3.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -p -u -r1.11 -r1.12
--- mp3.c 2 Jul 2003 00:26:04 -0000 1.11
+++ mp3.c 7 Jul 2003 01:40:07 -0000 1.12
@@ -51,7 +51,7 @@ typedef struct {
} mp3_header_t;
/* -- const data -- */
-const unsigned int bitrate[3][3][16] =
+static const unsigned int bitrate[3][3][16] =
{
{
{ 0, 32, 64, 96, 128, 160, 192, 224, 256, 288, 320, 352, 384, 416, 448, 0 },
@@ -68,7 +68,7 @@ const unsigned int bitrate[3][3][16] =
}
};
-const unsigned int samplerate[3][4] =
+static const unsigned int samplerate[3][4] =
{
{ 44100, 48000, 32000, 0 },
{ 22050, 24000, 16000, 0 },
<p><p>1.46 +2 -2 libshout/src/shout.c
Index: shout.c
===================================================================
RCS file: /usr/local/cvsroot/libshout/src/shout.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -p -u -r1.45 -r1.46
--- shout.c 6 Jul 2003 16:25:44 -0000 1.45
+++ shout.c 7 Jul 2003 01:40:08 -0000 1.46
@@ -22,7 +22,7 @@
static int login_xaudiocast(shout_t *self);
static int login_icy(shout_t *self);
static int login_http_basic(shout_t *self);
-char *http_basic_authorization(shout_t *self);
+static char *http_basic_authorization(shout_t *self);
/* -- static data -- */
static int _initialized = 0;
@@ -799,7 +799,7 @@ static int send_http_request(shout_t *se
return SHOUTERR_SUCCESS;
}
-char *http_basic_authorization(shout_t *self)
+static char *http_basic_authorization(shout_t *self)
{
char *out, *in;
int len;
<p><p>1.6 +3 -3 avl/avl.c
Index: avl.c
===================================================================
RCS file: /usr/local/cvsroot/avl/avl.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -u -r1.5 -r1.6
--- avl.c 7 Jul 2003 01:10:14 -0000 1.5
+++ avl.c 7 Jul 2003 01:40:08 -0000 1.6
@@ -22,7 +22,7 @@
*
*/
-/* $Id: avl.c,v 1.5 2003/07/07 01:10:14 brendan Exp $ */
+/* $Id: avl.c,v 1.6 2003/07/07 01:40:08 brendan Exp $ */
/*
* This is a fairly straightfoward translation of a prototype
@@ -1074,7 +1074,7 @@ default_key_printer (char * buffer, void
* it backwards using recursion.
*/
-void
+static void
print_connectors (link_node * link)
{
if (link->parent) {
@@ -1101,7 +1101,7 @@ print_connectors (link_node * link)
* representation.
*/
-void
+static void
print_node (avl_key_printer_fun_type key_printer,
avl_node * node,
link_node * link)
<p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list