patch-2.3.99-pre4 linux/scripts/gen-all-syms

Next file: linux/scripts/kernel-doc
Previous file: linux/scripts/docproc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre3/linux/scripts/gen-all-syms linux/scripts/gen-all-syms
@@ -3,5 +3,5 @@
 do
 	grep "EXPORT_SYMBOL.*(.*)" "$i" \
 		| sed -e "s/EXPORT_SYMBOL.*(/  /" \
-		| sed -e "s/).*$//"
+		| sed -e "s/).*$//" | sed -e "s/^  //"
 done

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)