[vlc-commits] dsm: add missing typedef

Thomas Guillem git at videolan.org
Wed May 2 15:12:43 CEST 2018


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed May  2 15:11:18 2018 +0200| [71afd695446ca8b525dc7ec40647125e6005a911] | committer: Thomas Guillem

dsm: add missing typedef

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

 modules/access/dsm/access.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/access/dsm/access.c b/modules/access/dsm/access.c
index bd5439cf26..66232981b9 100644
--- a/modules/access/dsm/access.c
+++ b/modules/access/dsm/access.c
@@ -103,7 +103,7 @@ static bool get_path( stream_t *p_access );
 static int add_item( stream_t *p_access,  struct vlc_readdir_helper *p_rdh,
                      const char *psz_name, int i_type );
 
-struct access_sys_t
+typedef struct
 {
     netbios_ns         *p_ns;               /**< Netbios name service */
     smb_session        *p_session;          /**< bdsm SMB Session object */
@@ -118,7 +118,7 @@ struct access_sys_t
 
     smb_fd              i_fd;               /**< SMB fd for the file we're reading */
     smb_tid             i_tid;              /**< SMB Tree ID we're connected to */
-};
+} access_sys_t;
 
 /*****************************************************************************
  * Open: Initialize module's data structures and libdsm



More information about the vlc-commits mailing list