changeset 30656:11eebd7c8879

Declare functions from network.c in network.h.
author diego
date Mon, 22 Feb 2010 13:50:48 +0000
parents 73d7c7884b0c
children aeb025df42ba
files stream/http.c stream/network.h stream/stream.h
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/stream/http.c	Mon Feb 22 13:27:58 2010 +0000
+++ b/stream/http.c	Mon Feb 22 13:50:48 2010 +0000
@@ -47,8 +47,6 @@
 extern int stream_cache_size;
 extern int network_bandwidth;
 
-int http_seek(stream_t *stream, off_t pos);
-
 typedef struct {
   unsigned metaint;
   unsigned metapos;
--- a/stream/network.h	Mon Feb 22 13:27:58 2010 +0000
+++ b/stream/network.h	Mon Feb 22 13:50:48 2010 +0000
@@ -66,4 +66,7 @@
 int http_authenticate(HTTP_header_t *http_hdr, URL_t *url, int *auth_retry);
 URL_t* check4proxies(URL_t *url);
 
+void fixup_network_stream_cache(stream_t *stream);
+int http_seek(stream_t *stream, off_t pos);
+
 #endif /* MPLAYER_NETWORK_H */
--- a/stream/stream.h	Mon Feb 22 13:27:58 2010 +0000
+++ b/stream/stream.h	Mon Feb 22 13:50:48 2010 +0000
@@ -175,7 +175,6 @@
 #define cache_stream_seek_long(x,y) stream_seek_long(x,y)
 #define stream_enable_cache(x,y,z,w) 1
 #endif
-void fixup_network_stream_cache(stream_t *stream);
 int stream_write_buffer(stream_t *s, unsigned char *buf, int len);
 
 inline static int stream_read_char(stream_t *s){