aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-01-04 12:25:58 (GMT)
committerJouni Malinen <j@w1.fi>2009-01-04 12:25:58 (GMT)
commit842e11d0bd06f11374897de7fd17edca0991c1a8 (patch)
tree973f4b336999c3b0504ccb9908ce2858288ada45 /wpa_supplicant
parente857fb05df1f682ce9557c6f4e45630c2f64f72c (diff)
downloadhostap-06-842e11d0bd06f11374897de7fd17edca0991c1a8.zip
hostap-06-842e11d0bd06f11374897de7fd17edca0991c1a8.tar.gz
hostap-06-842e11d0bd06f11374897de7fd17edca0991c1a8.tar.bz2
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.
Diffstat (limited to 'wpa_supplicant')
-rwxr-xr-xwpa_supplicant/doc/kerneldoc2doxygen.pl7
1 files changed, 6 insertions, 1 deletions
diff --git a/wpa_supplicant/doc/kerneldoc2doxygen.pl b/wpa_supplicant/doc/kerneldoc2doxygen.pl
index 68835a1..61bc367 100755
--- a/wpa_supplicant/doc/kerneldoc2doxygen.pl
+++ b/wpa_supplicant/doc/kerneldoc2doxygen.pl
@@ -20,7 +20,7 @@
#
##########################################################################
# 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)
#
# This program is free software; you can redistribute it and/or modify
@@ -70,6 +70,11 @@
sub fixcomment {
$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"
# " * struct bar: foo" --> "\brief foo\n"
# If this fails, not a kernel-doc comment ==> return unmodified.