commit | a17a954efde487f4072a33f05c5388bc42c51efc | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Thu Sep 08 05:48:50 2016 -0300 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Fri Sep 09 09:55:18 2016 -0300 |
tree | 3c4c9035ba4544a9fa98139f696b9c60d2bd193e | |
parent | fc78c7c7a1747912293ad9f78374f5be7f0acc6d [diff] |
[media] docs-rst: fix some broken struct references The :c:type: references point to the structure name, and not to struct foo. Fixed via this shell script: for i in `find Documentation/media -type f`; do perl -ne 'if (s/\:c\:type\:\`struct\s*(\S+)\`/struct :c:type:`$1`/) { s/struct\s+struct/struct/; s/(struct\s+\:c\:type\:\`\S+\`)\s+structure/$1/; } print $_' <$i >a && mv a $i; done Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>