]> git.sesse.net Git - vlc/commitdiff
Privatize httpd_MsgInit and httpd_MsgClean
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Wed, 22 Oct 2008 17:04:19 +0000 (20:04 +0300)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Wed, 22 Oct 2008 17:04:19 +0000 (20:04 +0300)
include/vlc_httpd.h
src/libvlccore.sym
src/network/httpd.c

index 5febb370f6bd234c99f052589b471a6f85b010d0..c64803d6dffbccbe7fdd4ddf86afc61e9de3aae1 100644 (file)
@@ -140,10 +140,8 @@ VLC_EXPORT( int,              httpd_StreamSend,   ( httpd_stream_t *, uint8_t *p
 
 
 /* Msg functions facilities */
-VLC_EXPORT( void,         httpd_MsgInit, ( httpd_message_t * )  );
 VLC_EXPORT( void,         httpd_MsgAdd, ( httpd_message_t *, const char *psz_name, const char *psz_value, ... ) LIBVLC_FORMAT( 3, 4 ) );
 /* return "" if not found. The string is not allocated */
 VLC_EXPORT( const char *, httpd_MsgGet, ( const httpd_message_t *, const char *psz_name ) );
-VLC_EXPORT( void,         httpd_MsgClean, ( httpd_message_t * ) );
 
 #endif /* _VLC_HTTPD_H */
index 508c4a8ab98362e0dec167cfde4703319f201195..8c6194973f25a64cd6f26c33db4c0a2cc2105d85 100644 (file)
@@ -130,9 +130,7 @@ httpd_HandlerNew
 httpd_HostDelete
 httpd_HostNew
 httpd_MsgAdd
-httpd_MsgClean
 httpd_MsgGet
-httpd_MsgInit
 httpd_RedirectDelete
 httpd_RedirectNew
 httpd_ServerIP
index 2587d2deef503cb8d80511b8ec46335bedfe5be2..e95661faba643f44c7470c7b91e30b08b4b29aeb 100644 (file)
@@ -1308,7 +1308,7 @@ void httpd_UrlDelete( httpd_url_t *url )
     vlc_mutex_unlock( &host->lock );
 }
 
-void httpd_MsgInit( httpd_message_t *msg )
+static void httpd_MsgInit( httpd_message_t *msg )
 {
     msg->cl         = NULL;
     msg->i_type     = HTTPD_MSG_NONE;
@@ -1332,7 +1332,7 @@ void httpd_MsgInit( httpd_message_t *msg )
     msg->p_body        = NULL;
 }
 
-void httpd_MsgClean( httpd_message_t *msg )
+static void httpd_MsgClean( httpd_message_t *msg )
 {
     int i;
 
@@ -2700,10 +2700,6 @@ httpd_stream_t *httpd_StreamNew( httpd_host_t *host,
     return NULL;
 }
 
-void httpd_MsgInit ( httpd_message_t *a )
-{
-}
-
 void httpd_MsgAdd  ( httpd_message_t *a, const char *b, const char *c, ... )
 {
 }
@@ -2713,8 +2709,4 @@ const char *httpd_MsgGet( const httpd_message_t *msg, const char *name )
     return "";
 }
 
-void httpd_MsgClean( httpd_message_t *a )
-{
-}
-
 #endif /* ENABLE_HTTPD */