[vlc-commits] sap: add missing qualifiers

Rémi Denis-Courmont git at videolan.org
Fri Apr 10 15:07:00 CEST 2020


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Apr 10 14:47:45 2020 +0300| [a833cb50e71fd05ace55211fd2f85a7a2fd63782] | committer: Rémi Denis-Courmont

sap: add missing qualifiers

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

 modules/services_discovery/sap.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/modules/services_discovery/sap.c b/modules/services_discovery/sap.c
index 25e95dc799..ce908c53a2 100644
--- a/modules/services_discovery/sap.c
+++ b/modules/services_discovery/sap.c
@@ -965,8 +965,10 @@ typedef struct sap_announce_t
     input_item_t * p_item;
 } sap_announce_t;
 
-sap_announce_t *CreateAnnounce( services_discovery_t *p_sd, uint32_t *i_source, uint16_t i_hash,
-                                sdp_t *p_sdp, const char *uri )
+static sap_announce_t *CreateAnnounce(services_discovery_t *p_sd,
+                                      const uint32_t *i_source,
+                                      uint16_t i_hash,
+                                      sdp_t *p_sdp, const char *uri)
 {
     input_item_t *p_input;
     const char *psz_value;



More information about the vlc-commits mailing list