patch-2.3.99-pre1 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.51/linux/scripts/gen-all-syms linux/scripts/gen-all-syms
@@ -0,0 +1,7 @@
+#!/bin/sh
+for i in $*
+do
+	grep "EXPORT_SYMBOL.*(.*)" "$i" \
+		| sed -e "s/EXPORT_SYMBOL.*(/  /" \
+		| 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)