Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
Icecast-Server
Commits
65c0bfbb
Commit
65c0bfbb
authored
Dec 29, 2002
by
Michael Smith
Browse files
Fix up types after thread type rename earlier.
svn path=/trunk/icecast/; revision=4175
parent
d218eedf
Changes
5
Hide whitespace changes
Inline
Side-by-side
src/connection.c
View file @
65c0bfbb
...
@@ -46,7 +46,7 @@ typedef struct con_queue_tag {
...
@@ -46,7 +46,7 @@ typedef struct con_queue_tag {
}
con_queue_t
;
}
con_queue_t
;
typedef
struct
_thread_queue_tag
{
typedef
struct
_thread_queue_tag
{
thread_t
*
thread_id
;
thread_t
ype
*
thread_id
;
struct
_thread_queue_tag
*
next
;
struct
_thread_queue_tag
*
next
;
}
thread_queue_t
;
}
thread_queue_t
;
...
@@ -159,7 +159,7 @@ static void _signal_pool(void)
...
@@ -159,7 +159,7 @@ static void _signal_pool(void)
thread_cond_signal
(
&
_pool_cond
);
thread_cond_signal
(
&
_pool_cond
);
}
}
static
void
_push_thread
(
thread_queue_t
**
queue
,
thread_t
*
thread_id
)
static
void
_push_thread
(
thread_queue_t
**
queue
,
thread_t
ype
*
thread_id
)
{
{
/* create item */
/* create item */
thread_queue_t
*
item
=
(
thread_queue_t
*
)
malloc
(
sizeof
(
thread_queue_t
));
thread_queue_t
*
item
=
(
thread_queue_t
*
)
malloc
(
sizeof
(
thread_queue_t
));
...
@@ -177,9 +177,9 @@ static void _push_thread(thread_queue_t **queue, thread_t *thread_id)
...
@@ -177,9 +177,9 @@ static void _push_thread(thread_queue_t **queue, thread_t *thread_id)
thread_mutex_unlock
(
&
_queue_mutex
);
thread_mutex_unlock
(
&
_queue_mutex
);
}
}
static
thread_t
*
_pop_thread
(
thread_queue_t
**
queue
)
static
thread_t
ype
*
_pop_thread
(
thread_queue_t
**
queue
)
{
{
thread_t
*
id
;
thread_t
ype
*
id
;
thread_queue_t
*
item
;
thread_queue_t
*
item
;
thread_mutex_lock
(
&
_queue_mutex
);
thread_mutex_lock
(
&
_queue_mutex
);
...
@@ -204,7 +204,7 @@ static void _build_pool(void)
...
@@ -204,7 +204,7 @@ static void _build_pool(void)
{
{
ice_config_t
*
config
;
ice_config_t
*
config
;
int
i
;
int
i
;
thread_t
*
tid
;
thread_t
ype
*
tid
;
char
buff
[
64
];
char
buff
[
64
];
config
=
config_get_config
();
config
=
config_get_config
();
...
@@ -218,7 +218,7 @@ static void _build_pool(void)
...
@@ -218,7 +218,7 @@ static void _build_pool(void)
static
void
_destroy_pool
(
void
)
static
void
_destroy_pool
(
void
)
{
{
thread_t
*
id
;
thread_t
ype
*
id
;
int
i
;
int
i
;
i
=
0
;
i
=
0
;
...
...
src/format.c
View file @
65c0bfbb
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
#include
"format_vorbis.h"
#include
"format_vorbis.h"
#include
"format_mp3.h"
#include
"format_mp3.h"
#include
"log.h"
#include
"logging.h"
#include
"logging.h"
#define CATMODULE "format"
#define CATMODULE "format"
...
...
src/fserve.c
View file @
65c0bfbb
...
@@ -50,7 +50,7 @@ static avl_tree *pending_tree;
...
@@ -50,7 +50,7 @@ static avl_tree *pending_tree;
static
avl_tree
*
mimetypes
=
NULL
;
static
avl_tree
*
mimetypes
=
NULL
;
static
cond_t
fserv_cond
;
static
cond_t
fserv_cond
;
static
thread_t
*
fserv_thread
;
static
thread_t
ype
*
fserv_thread
;
static
int
run_fserv
;
static
int
run_fserv
;
static
int
fserve_clients
;
static
int
fserve_clients
;
static
int
client_tree_changed
=
0
;
static
int
client_tree_changed
=
0
;
...
...
src/slave.c
View file @
65c0bfbb
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
#define CATMODULE "slave"
#define CATMODULE "slave"
static
void
*
_slave_thread
(
void
*
arg
);
static
void
*
_slave_thread
(
void
*
arg
);
thread_t
*
_slave_thread_id
;
thread_t
ype
*
_slave_thread_id
;
static
int
_initialized
=
0
;
static
int
_initialized
=
0
;
void
slave_initialize
(
void
)
{
void
slave_initialize
(
void
)
{
...
...
src/stats.c
View file @
65c0bfbb
...
@@ -33,7 +33,7 @@ typedef struct _event_listener_tag
...
@@ -33,7 +33,7 @@ typedef struct _event_listener_tag
}
event_listener_t
;
}
event_listener_t
;
int
_stats_running
=
0
;
int
_stats_running
=
0
;
thread_t
*
_stats_thread_id
;
thread_t
ype
*
_stats_thread_id
;
int
_stats_threads
=
0
;
int
_stats_threads
=
0
;
stats_t
_stats
;
stats_t
_stats
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment