]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] fix clock_gettime cross-references
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 8 Sep 2016 08:51:10 +0000 (05:51 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 9 Sep 2016 12:55:43 +0000 (09:55 -0300)
commit39b6b9005f6cd2ef2f6c554bb2da176ca87aab0d
tree444fed72249412ed9d6ab2773020ab622b836f9f
parenta17a954efde487f4072a33f05c5388bc42c51efc
[media] fix clock_gettime cross-references

Fix those warnings:

Documentation/media/uapi/cec/cec-ioc-dqevent.rst:124: WARNING: c:func reference target not found: clock_gettime(2)

By replacing it with the right function name, using this shell script:

for i in `find Documentation/media -type f`; do sed 's,clock_gettime(2),clock_gettime,' <$i >a && mv a $i; done

Please notice that this will make the nitpick mode to shut up
complaining about that, becasue clock_gettime is on its exclude list,
but the cross reference will be undefined until someone documents
this function at the core documentation.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Documentation/media/uapi/cec/cec-ioc-dqevent.rst
Documentation/media/uapi/cec/cec-ioc-receive.rst
Documentation/media/uapi/v4l/buffer.rst
Documentation/media/uapi/v4l/vidioc-dqevent.rst