Remove unwanted wpa_supplicant -> struct wpa_supplicant links
Replace " wpa_supplicant" with " %wpa_supplicant" except for "struct wpa_supplicant". This makes it easier to write Doxygen comments since there is no need to add the ugly '%' prefix to each instance of wpa_supplicant text showing up.
This commit is contained in:
parent
e857fb05df
commit
842e11d0bd
1 changed files with 6 additions and 1 deletions
|
@ -20,7 +20,7 @@
|
||||||
#
|
#
|
||||||
##########################################################################
|
##########################################################################
|
||||||
# Copyright (C) 2003 Jonathan Foster <jon@jon-foster.co.uk>
|
# Copyright (C) 2003 Jonathan Foster <jon@jon-foster.co.uk>
|
||||||
# Copyright (C) 2005 Jouni Malinen <j@w1.fi>
|
# Copyright (C) 2005-2008 Jouni Malinen <j@w1.fi>
|
||||||
# (modified for kerneldoc format used in wpa_supplicant)
|
# (modified for kerneldoc format used in wpa_supplicant)
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -70,6 +70,11 @@
|
||||||
sub fixcomment {
|
sub fixcomment {
|
||||||
$t = $_[0];
|
$t = $_[0];
|
||||||
|
|
||||||
|
# wpa_supplicant -> %wpa_supplicant except for struct wpa_supplicant
|
||||||
|
$t =~ s/struct wpa_supplicant/struct STRUCTwpa_supplicant/sg;
|
||||||
|
$t =~ s/ wpa_supplicant/ \%wpa_supplicant/sg;
|
||||||
|
$t =~ s/struct STRUCTwpa_supplicant/struct wpa_supplicant/sg;
|
||||||
|
|
||||||
# " * func: foo" --> "\brief foo\n"
|
# " * func: foo" --> "\brief foo\n"
|
||||||
# " * struct bar: foo" --> "\brief foo\n"
|
# " * struct bar: foo" --> "\brief foo\n"
|
||||||
# If this fails, not a kernel-doc comment ==> return unmodified.
|
# If this fails, not a kernel-doc comment ==> return unmodified.
|
||||||
|
|
Loading…
Reference in a new issue