On Fri, Apr 21, 2017 at 04:53:05PM +0300, Edgar Kaziahmedov wrote: > * v4l2.c: Include "xlat/v4l2_tuner_types.h", "xlat/v4l2_tuner_capabilities.h", > "xlat/v4l2_tuner_rxsubchanses.h", and "xlat/v4l2_tuner_audmodes.h". > (struct_v4l2_tuner): New typedef. Mpersify it. > (print_v4l2_tuner): New function. Use it. Add decoding for > VIDIOC_G/S_TUNER's arg.
Surprisingly, struct v4l2_tuner is arch-independent because its definition uses arch-independent types only. As result, struct v4l2_tuner can be used in print_v4l2_tuner and struct_v4l2_tuner is not needed. -- ldv
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Strace-devel mailing list Strace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/strace-devel