[vlc-commits] Removed unused httpd_UrlNew()

Rémi Denis-Courmont git at videolan.org
Sun Apr 1 21:14:21 CEST 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Apr  1 22:04:00 2012 +0300| [a053ede0279678b52cc8fbf3dab8e78ae14c6a1b] | committer: Rémi Denis-Courmont

Removed unused httpd_UrlNew()

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a053ede0279678b52cc8fbf3dab8e78ae14c6a1b
---

 include/vlc_httpd.h |    1 -
 src/libvlccore.sym  |    1 -
 src/missing.c       |    8 --------
 src/network/httpd.c |    8 --------
 4 files changed, 0 insertions(+), 18 deletions(-)

diff --git a/include/vlc_httpd.h b/include/vlc_httpd.h
index a4c3a0f..f689bdb 100644
--- a/include/vlc_httpd.h
+++ b/include/vlc_httpd.h
@@ -101,7 +101,6 @@ VLC_API httpd_host_t *vlc_rtsp_HostNew( vlc_object_t * ) VLC_USED;
 VLC_API void httpd_HostDelete( httpd_host_t * );
 
 /* register a new url */
-VLC_API httpd_url_t * httpd_UrlNew( httpd_host_t *, const char *psz_url, const char *psz_user, const char *psz_password, const vlc_acl_t *p_acl ) VLC_USED;
 VLC_API httpd_url_t * httpd_UrlNewUnique( httpd_host_t *, const char *psz_url, const char *psz_user, const char *psz_password, const vlc_acl_t *p_acl ) VLC_USED;
 /* register callback on a url */
 VLC_API int httpd_UrlCatch( httpd_url_t *, int i_msg, httpd_callback_t, httpd_callback_sys_t * );
diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index 7f62100..6abcb67 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -176,7 +176,6 @@ httpd_StreamNew
 httpd_StreamSend
 httpd_UrlCatch
 httpd_UrlDelete
-httpd_UrlNew
 httpd_UrlNewUnique
 image_Ext2Fourcc
 image_HandlerCreate
diff --git a/src/missing.c b/src/missing.c
index f630aa4..c4d6b31 100644
--- a/src/missing.c
+++ b/src/missing.c
@@ -183,14 +183,6 @@ void httpd_UrlDelete (httpd_url_t *url)
     assert (0);
 }
 
-httpd_url_t *httpd_UrlNew (httpd_host_t *host, const char *url,
-                           const char *login, const char *password,
-                           const vlc_acl_t *acl)
-{
-    (void) host; (void) url; (void) login; (void) password; (void) acl;
-    assert (0);
-}
-
 httpd_url_t *httpd_UrlNewUnique (httpd_host_t *host, const char *url,
                                  const char *login, const char *password,
                                  const vlc_acl_t *acl)
diff --git a/src/network/httpd.c b/src/network/httpd.c
index 5f0b5e3..e76f617 100644
--- a/src/network/httpd.c
+++ b/src/network/httpd.c
@@ -1241,14 +1241,6 @@ static httpd_url_t *httpd_UrlNewPrivate( httpd_host_t *host, const char *psz_url
     return url;
 }
 
-httpd_url_t *httpd_UrlNew( httpd_host_t *host, const char *psz_url,
-                           const char *psz_user, const char *psz_password,
-                           const vlc_acl_t *p_acl )
-{
-    return httpd_UrlNewPrivate( host, psz_url, psz_user,
-                                psz_password, p_acl, false );
-}
-
 httpd_url_t *httpd_UrlNewUnique( httpd_host_t *host, const char *psz_url,
                                  const char *psz_user, const char *psz_password,
                                  const vlc_acl_t *p_acl )



More information about the vlc-commits mailing list