[vlc-commits] [Git][videolan/vlc][master] doc/libvlc: include cstdio/cstdlib

Steve Lhomme (@robUx4) gitlab at videolan.org
Fri Jan 27 12:15:34 UTC 2023



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
246d4512 by Steve Lhomme at 2023-01-27T11:40:39+00:00
doc/libvlc: include cstdio/cstdlib

They are the headers that should be used from C++.

+ set the SPDX license so it can be parsed easily.

- - - - -


1 changed file:

- doc/libvlc/sdl_opengl_player.cpp


Changes:

=====================================
doc/libvlc/sdl_opengl_player.cpp
=====================================
@@ -1,10 +1,10 @@
 //g++ sdl_opengl_player.cpp $(pkg-config --cflags --libs libvlc sdl2 gl)
 
-/* Licence WTFPL  */
+/* SPDX-License-Identifier: WTFPL  */
 /* Written by Pierre Lamot */
 
-#include <stdio.h>
-#include <stdlib.h>
+#include <cstdio>
+#include <cstdlib>
 
 #include <exception>
 #include <mutex>



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/246d4512609b332cc272c80a2ce2d3da3e9cbc5f

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/246d4512609b332cc272c80a2ce2d3da3e9cbc5f
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list