core: remove global *_sys_t typedefs
authorRomain Vimont <rom1v@videolabs.io>
Fri, 27 Apr 2018 20:10:57 +0000 (22:10 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 30 Apr 2018 12:20:50 +0000 (14:20 +0200)
commitff2901aff39c3f687604c9dbb418c928aeaa6944
tree6ae677dfe75287a6c675d6c0fb9b9b1cf7e00f7c
parent1bbd0eb5c03e489be59183e55af75282e14a17ae
core: remove global *_sys_t typedefs

Do not declare *_sys_t typedefs globally in vlc_common.h. Instead,
declare them locally in each module that provides a definition.

This paves the way to move C++ definitions into anonymous namespaces in
order to respect C++ ODR.

The picture_resource_t and sout_stream_id_sys_t typedefs will be handled
separately, since they require specific additional changes.

See #18033

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
351 files changed:
include/vlc_common.h
modules/access/alsa.c
modules/access/attachment.c
modules/access/avcapture.m
modules/access/avio.c
modules/access/bluray.c
modules/access/cdda.c
modules/access/concat.c
modules/access/dc1394.c
modules/access/directory.c
modules/access/dshow/access.h
modules/access/dsm/sd.c
modules/access/dtv/access.c
modules/access/dv.c
modules/access/dvb/access.c
modules/access/dvdnav.c
modules/access/dvdread.c
modules/access/file.c
modules/access/ftp.c
modules/access/http.c
modules/access/http/access.c
modules/access/idummy.c
modules/access/imem-access.c
modules/access/imem.c
modules/access/jack.c
modules/access/linsys/linsys_hdsdi.c
modules/access/linsys/linsys_sdi.c
modules/access/mms/mms.c
modules/access/mms/mmsh.h
modules/access/mms/mmstu.h
modules/access/nfs.c
modules/access/oss.c
modules/access/pulse.c
modules/access/qtsound.m
modules/access/rdp.c
modules/access/rtp/rtp.h
modules/access/rtsp/access.c
modules/access/samba.c
modules/access/satip.c
modules/access/screen/screen.h
modules/access/screen/wayland.c
modules/access/screen/xcb.c
modules/access/sftp.c
modules/access/shm.c
modules/access/srt.c
modules/access/timecode.c
modules/access/udp.c
modules/access/unc.c
modules/access/v4l2/access.c
modules/access/v4l2/demux.c
modules/access/v4l2/radio.c
modules/access/vcd/vcd.c
modules/access/vdr.c
modules/access/vnc.c
modules/access/wasapi.c
modules/access_output/http.c
modules/access_output/livehttp.c
modules/access_output/shout.c
modules/access_output/srt.c
modules/access_output/udp.c
modules/audio_filter/audiobargraph_a.c
modules/audio_filter/channel_mixer/dolby.c
modules/audio_filter/channel_mixer/headphone.c
modules/audio_filter/channel_mixer/mono.c
modules/audio_filter/channel_mixer/remap.c
modules/audio_filter/channel_mixer/spatialaudio.cpp
modules/audio_filter/channel_mixer/trivial.c
modules/audio_filter/chorus_flanger.c
modules/audio_filter/compressor.c
modules/audio_filter/converter/tospdif.c
modules/audio_filter/equalizer.c
modules/audio_filter/gain.c
modules/audio_filter/normvol.c
modules/audio_filter/param_eq.c
modules/audio_filter/resampler/bandlimited.c
modules/audio_filter/resampler/soxr.c
modules/audio_filter/resampler/speex.c
modules/audio_filter/resampler/src.c
modules/audio_filter/scaletempo.c
modules/audio_filter/stereo_widen.c
modules/audio_output/alsa.c
modules/audio_output/amem.c
modules/audio_output/audiotrack.c
modules/audio_output/audiounit_ios.m
modules/audio_output/auhal.c
modules/audio_output/directsound.c
modules/audio_output/file.c
modules/audio_output/jack.c
modules/audio_output/kai.c
modules/audio_output/mmdevice.c
modules/audio_output/opensles_android.c
modules/audio_output/oss.c
modules/audio_output/pulse.c
modules/audio_output/sndio.c
modules/audio_output/tizen_audio.c
modules/audio_output/waveout.c
modules/audio_output/winstore.c
modules/codec/a52.c
modules/codec/adpcm.c
modules/codec/aes3.c
modules/codec/aom.c
modules/codec/araw.c
modules/codec/arib/aribsub.c
modules/codec/audiotoolbox_midi.c
modules/codec/avcodec/audio.c
modules/codec/avcodec/encoder.c
modules/codec/avcodec/subtitle.c
modules/codec/avcodec/video.c
modules/codec/bpg.c
modules/codec/cc.c
modules/codec/cdg.c
modules/codec/crystalhd.c
modules/codec/cvdsub.c
modules/codec/daala.c
modules/codec/dca.c
modules/codec/dmo/dmo.c
modules/codec/dvbsub.c
modules/codec/faad.c
modules/codec/fdkaac.c
modules/codec/flac.c
modules/codec/fluidsynth.c
modules/codec/g711.c
modules/codec/gstreamer/gstdecode.c
modules/codec/jpeg.c
modules/codec/kate.c
modules/codec/libass.c
modules/codec/libmpeg2.c
modules/codec/lpcm.c
modules/codec/mad.c
modules/codec/mft.c
modules/codec/mpg123.c
modules/codec/oggspots.c
modules/codec/omxil/mediacodec.c
modules/codec/omxil/omxil.h
modules/codec/opus.c
modules/codec/png.c
modules/codec/qsv.c
modules/codec/rawvideo.c
modules/codec/schroedinger.c
modules/codec/scte18.c
modules/codec/scte27.c
modules/codec/sdl_image.c
modules/codec/shine.c
modules/codec/speex.c
modules/codec/spudec/spudec.h
modules/codec/stl.c
modules/codec/subsdec.c
modules/codec/substx3g.c
modules/codec/subsusf.c
modules/codec/svcdsub.c
modules/codec/svg.c
modules/codec/telx.c
modules/codec/textst.c
modules/codec/theora.c
modules/codec/ttml/substtml.c
modules/codec/twolame.c
modules/codec/uleaddvaudio.c
modules/codec/videotoolbox.m
modules/codec/vorbis.c
modules/codec/vpx.c
modules/codec/webvtt/subsvtt.c
modules/codec/wmafixed/wma.c
modules/codec/x264.c
modules/codec/x265.c
modules/codec/zvbi.c
modules/demux/adaptive/adaptive.cpp
modules/demux/adaptive/plumbing/FakeESOut.cpp
modules/demux/adaptive/plumbing/SourceStream.cpp
modules/demux/aiff.c
modules/demux/asf/asf.c
modules/demux/au.c
modules/demux/avformat/demux.c
modules/demux/avformat/mux.c
modules/demux/avi/avi.c
modules/demux/caf.c
modules/demux/cdg.c
modules/demux/flac.c
modules/demux/gme.c
modules/demux/image.c
modules/demux/mjpeg.c
modules/demux/mkv/matroska_segment.hpp
modules/demux/mod.c
modules/demux/mp4/mp4.c
modules/demux/mpc.c
modules/demux/mpeg/es.c
modules/demux/mpeg/h26x.c
modules/demux/mpeg/mpgv.c
modules/demux/mpeg/ps.c
modules/demux/mpeg/ts_pid.h
modules/demux/nsv.c
modules/demux/nuv.c
modules/demux/ogg.h
modules/demux/playlist/sgimb.c
modules/demux/pva.c
modules/demux/rawaud.c
modules/demux/rawdv.c
modules/demux/rawvid.c
modules/demux/real.c
modules/demux/sid.cpp
modules/demux/smf.c
modules/demux/stl.c
modules/demux/subtitle.c
modules/demux/tta.c
modules/demux/ttml.c
modules/demux/ty.c
modules/demux/vc1.c
modules/demux/vobsub.c
modules/demux/voc.c
modules/demux/wav.c
modules/demux/webvtt.c
modules/demux/xa.c
modules/hw/d3d11/d3d11_deinterlace.c
modules/hw/d3d11/d3d11_filters.c
modules/hw/d3d11/d3d11_surface.c
modules/hw/d3d9/d3d9_filters.c
modules/hw/d3d9/dxa9.c
modules/hw/d3d9/dxva2_deinterlace.c
modules/hw/mmal/codec.c
modules/hw/mmal/deinterlace.c
modules/hw/vaapi/chroma.c
modules/hw/vaapi/filters.c
modules/hw/vdpau/adjust.c
modules/hw/vdpau/chroma.c
modules/hw/vdpau/deinterlace.c
modules/hw/vdpau/sharpen.c
modules/lua/services_discovery.c
modules/misc/rtsp.c
modules/misc/stats.c
modules/misc/xml/libxml.c
modules/mux/asf.c
modules/mux/avi.c
modules/mux/dummy.c
modules/mux/mp4/mp4.c
modules/mux/mpeg/ps.c
modules/mux/mpeg/ts.c
modules/mux/ogg.c
modules/mux/wav.c
modules/packetizer/a52.c
modules/packetizer/avparser.c
modules/packetizer/copy.c
modules/packetizer/dts.c
modules/packetizer/flac.c
modules/packetizer/h264.c
modules/packetizer/hevc.c
modules/packetizer/mlp.c
modules/packetizer/mpeg4audio.c
modules/packetizer/mpeg4video.c
modules/packetizer/mpegaudio.c
modules/packetizer/mpegvideo.c
modules/packetizer/vc1.c
modules/services_discovery/avahi.c
modules/services_discovery/bonjour.m
modules/services_discovery/mediadirs.c
modules/services_discovery/microdns.c
modules/services_discovery/mtp.c
modules/services_discovery/podcast.c
modules/services_discovery/pulse.c
modules/services_discovery/sap.c
modules/services_discovery/udev.c
modules/services_discovery/xcb_apps.c
modules/spu/audiobargraph_v.c
modules/spu/dynamicoverlay/dynamicoverlay.h
modules/spu/logo.c
modules/spu/marq.c
modules/spu/mosaic.c
modules/spu/remoteosd.c
modules/spu/rss.c
modules/spu/subsdelay.c
modules/stream_filter/accesstweaks.c
modules/stream_filter/aribcam.c
modules/stream_filter/cache_block.c
modules/stream_filter/cache_read.c
modules/stream_filter/decomp.c
modules/stream_filter/hds/hds.c
modules/stream_filter/inflate.c
modules/stream_filter/prefetch.c
modules/stream_filter/record.c
modules/stream_out/autodel.c
modules/stream_out/bridge.c
modules/stream_out/chromaprint.c
modules/stream_out/chromecast/chromecast_demux.cpp
modules/stream_out/cycle.c
modules/stream_out/delay.c
modules/stream_out/description.c
modules/stream_out/display.c
modules/stream_out/duplicate.c
modules/stream_out/es.c
modules/stream_out/gather.c
modules/stream_out/mosaic_bridge.c
modules/stream_out/record.c
modules/stream_out/rtp.c
modules/stream_out/setid.c
modules/stream_out/smem.c
modules/stream_out/standard.c
modules/stream_out/stats.c
modules/stream_out/transcode/transcode.h
modules/stream_out/vod.c
modules/text_renderer/freetype/freetype.h
modules/text_renderer/nsspeechsynthesizer.m
modules/text_renderer/svg.c
modules/video_chroma/chain.c
modules/video_chroma/cvpx.c
modules/video_chroma/i420_nv12.c
modules/video_chroma/i420_rgb.h
modules/video_chroma/swscale.c
modules/video_filter/adjust.c
modules/video_filter/alphamask.c
modules/video_filter/anaglyph.c
modules/video_filter/antiflicker.c
modules/video_filter/ball.c
modules/video_filter/blendbench.c
modules/video_filter/bluescreen.c
modules/video_filter/canvas.c
modules/video_filter/ci_filters.m
modules/video_filter/colorthres.c
modules/video_filter/croppadd.c
modules/video_filter/deinterlace/deinterlace.h
modules/video_filter/edgedetection.c
modules/video_filter/erase.c
modules/video_filter/extract.c
modules/video_filter/fps.c
modules/video_filter/freeze.c
modules/video_filter/gaussianblur.c
modules/video_filter/gradfun.c
modules/video_filter/gradient.c
modules/video_filter/grain.c
modules/video_filter/hqdn3d.c
modules/video_filter/magnify.c
modules/video_filter/mirror.c
modules/video_filter/motionblur.c
modules/video_filter/motiondetect.c
modules/video_filter/oldmovie.c
modules/video_filter/opencv_wrapper.c
modules/video_filter/posterize.c
modules/video_filter/postproc.c
modules/video_filter/psychedelic.c
modules/video_filter/puzzle_mgt.h
modules/video_filter/ripple.c
modules/video_filter/rotate.c
modules/video_filter/scene.c
modules/video_filter/sepia.c
modules/video_filter/sharpen.c
modules/video_filter/transform.c
modules/video_filter/vhs.c
modules/video_filter/wave.c
modules/video_output/decklink.cpp
modules/visualization/glspectrum.c
modules/visualization/goom.c
modules/visualization/visual/visual.c
src/input/es_out.c
src/input/es_out_timeshift.c