]> git.sesse.net Git - vlc/blobdiff - src/missing.c
avformat: shut up warning (unsigned char -> uint8_t)
[vlc] / src / missing.c
index 45439d579aad3e36dd5d619bb98dc572118daced..f630aa4a6632ee9068f22c270355a6a179f83b4a 100644 (file)
@@ -3,19 +3,19 @@
  *****************************************************************************
  * Copyright (C) 2008 RĂ©mi Denis-Courmont
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or
  * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License for more details.
  *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
 /** \file
@@ -34,7 +34,7 @@
 
 char *httpd_ClientIP (const httpd_client_t *cl, char *psz_ip, int *port)
 {
-    (void) cl; (void) psz_ip; (void) port
+    (void) cl; (void) psz_ip; (void) port;
     assert (0);
 }
 
@@ -93,21 +93,20 @@ void httpd_HostDelete (httpd_host_t *h)
     assert (0);
 }
 
-httpd_host_t *vlc_http_HostNew (vlc_object_t *obj, int port)
+httpd_host_t *vlc_http_HostNew (vlc_object_t *obj)
 {
-    (void) port;
     msg_Err (obj, "HTTP server not compiled-in!");
     return NULL;
 }
 
-httpd_host_t *vlc_https_HostNew (vlc_object_t *obj, int port)
+httpd_host_t *vlc_https_HostNew (vlc_object_t *obj)
 {
-     return httpd_HostNew (obj, port);
+    msg_Err (obj, "HTTPS server not compiled-in!");
+    return NULL;
 }
 
-httpd_host_t *vlc_rtsp_HostNew (vlc_object_t *obj, int port)
+httpd_host_t *vlc_rtsp_HostNew (vlc_object_t *obj)
 {
-    (void) port;
     msg_Err (obj, "RTSP server not compiled-in!");
     return NULL;
 }