aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strcpy.c
diff options
context:
space:
mode:
authorNĂ­colas F. R. A. Prado <[email protected]>2020-11-17 02:12:01 +0000
committerJonathan Corbet <[email protected]>2020-11-30 10:54:33 -0700
commitfb568273c0555097e8955643fa5d054b4e01bfc7 (patch)
treebb0bb8c6e6273e3055df529684c529c669d553c8 /lib/test_fortify/write_overflow-strcpy.c
parentf59c4966d8508671ae3a990396a9da91f85ad75b (diff)
docs: automarkup.py: Allow automatic cross-reference inside C namespace
Sphinx 3.1 introduced namespaces for C cross-references. With this, each C domain type/function declaration is put inside the namespace that was active at the time of its declaration. Add support for automatic cross-referencing inside C namespaces by checking whether the corresponding source file had a C namespace Sphinx directive, and if so, try cross-referencing inside of it before going to the global scope. This assumes there's only one namespace (if any) per rst file. Signed-off-by: NĂ­colas F. R. A. Prado <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Corbet <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strcpy.c')
0 files changed, 0 insertions, 0 deletions