# HG changeset patch # User Naoya OYAMA # Date 1287924650 -32400 # Node ID 1d343a4eb6571bff5ebafca8bb78884008543f99 # Parent c4e0a57773635318626896984043ca3b88d1379b modify function prototype. remove unused variable. diff -r c4e0a5777363 -r 1d343a4eb657 src/http.c --- a/src/http.c Mon Oct 18 03:56:39 2010 +0900 +++ b/src/http.c Sun Oct 24 21:50:50 2010 +0900 @@ -97,12 +97,9 @@ { extern struct ushare_t *ut; struct upnp_entry_t *entry = NULL; - struct stat st; int upnp_id = 0; char *content_type = NULL; char *protocol = NULL; - extern thread_data *gp_tdata; - thread_data *tdata = gp_tdata; if (!filename || !info) return -1; @@ -392,8 +389,6 @@ { struct web_file_t *file = (struct web_file_t *) fh; ssize_t len = -1; - extern thread_data *gp_tdata; - thread_data *tdata = gp_tdata; //log_verbose ("http_read file:[%s]\n", file->fullpath); @@ -537,9 +532,7 @@ extern thread_data *gp_tdata; thread_data *tdata = gp_tdata; STREAM_QUEUE_T *p_queue; - int i; int id = 0; - int j; if (!file) return -1; diff -r c4e0a5777363 -r 1d343a4eb657 src/recpt1.h --- a/src/recpt1.h Mon Oct 18 03:56:39 2010 +0900 +++ b/src/recpt1.h Sun Oct 24 21:50:50 2010 +0900 @@ -101,7 +101,8 @@ } thread_data; QUEUE_T *create_queue(size_t size); -BUFSZ * dequeue(QUEUE_T *p_queue); +BUFSZ *dequeue(QUEUE_T *p_queue); +ARIB_STD_B25_BUFFER *stream_dequeue(STREAM_QUEUE_T *p_queue); void destroy_queue(QUEUE_T *p_queue); void destroy_stream_queue(STREAM_QUEUE_T *p_queue);