summaryrefslogtreecommitdiff
path: root/scripts/get_abi.pl
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@kernel.org>2022-03-26 11:27:23 +0100
committerJonathan Corbet <corbet@lwn.net>2022-03-28 13:53:46 -0600
commit92b6de17b21cf74448d2397ef92d5ca856c6419f (patch)
treed7ea2596b755620fad0a618014c4756043eca496 /scripts/get_abi.pl
parentbcf0a536bff913f3c77c4c469bff13fd9ebeb1e9 (diff)
scripts/get_abi: change the file/line number meta info
In order to make it more standard and ReST compatible, change the meta-tag used with --enable-lineno from: #define LINENO to .. LINENO In practice, no functional changes. Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org> Link: https://lore.kernel.org/r/125ffd31fbc77ad9eee4d6906e1830b8162fa6ca.1648290305.git.mchehab@kernel.org Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'scripts/get_abi.pl')
-rwxr-xr-xscripts/get_abi.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/get_abi.pl b/scripts/get_abi.pl
index 6212f58b69c6..25836ac0a33d 100755
--- a/scripts/get_abi.pl
+++ b/scripts/get_abi.pl
@@ -326,7 +326,7 @@ sub output_rest {
my @filepath = split / /, $data{$what}->{filepath};
if ($enable_lineno) {
- printf "#define LINENO %s%s#%s\n\n",
+ printf ".. LINENO %s%s#%s\n\n",
$prefix, $file[0],
$data{$what}->{line_no};
}
@@ -1022,7 +1022,7 @@ logic (B<--no-rst-source>).
=item B<--enable-lineno>
-Enable output of #define LINENO lines.
+Enable output of .. LINENO lines.
=item B<--debug> I<debug level>