[vlc-commits] Add includes guards to cdrom.h

Jean-Baptiste Kempf git at videolan.org
Fri Jan 2 13:27:03 CET 2015


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Jan  2 12:47:16 2015 +0100| [e324dca7d6ade6f716698093fcfbed07521d25dd] | committer: Jean-Baptiste Kempf

Add includes guards to cdrom.h

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

 modules/access/vcd/cdrom.h |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/modules/access/vcd/cdrom.h b/modules/access/vcd/cdrom.h
index bafb73e..0704e57 100644
--- a/modules/access/vcd/cdrom.h
+++ b/modules/access/vcd/cdrom.h
@@ -22,6 +22,9 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#ifndef VLC_CDROM_H
+#define VLC_CDROM_H
+
 #define CDDA_TYPE 0
 #define VCD_TYPE 1
 
@@ -100,3 +103,5 @@ int       ioctl_ReadSectors  ( vlc_object_t *, const vcddev_t *,
  * The track 0 is for album meta data */
 int       ioctl_GetCdText( vlc_object_t *, const vcddev_t *,
                            vlc_meta_t ***ppp_tracks, int *pi_tracks );
+
+#endif /* VLC_CDROM_H */



More information about the vlc-commits mailing list