summaryrefslogtreecommitdiff
path: root/make-tapreg-dotc
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-02-22 18:47:04 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-02-22 18:47:04 +0000
commitcdebea69ce9b3b10abcd155b8b2848a259341f26 (patch)
treec7e7f96441b0283c58a72b746e23d39c78f7e6a8 /make-tapreg-dotc
parent26a84495c8663a9ae55b2c84a8c716edb211b0f6 (diff)
downloadwireshark-cdebea69ce9b3b10abcd155b8b2848a259341f26.tar.gz
Redesigned the menu structure of the former statistics stuff,
now sorted by ISO-layer, than alphabetically (now longer by functionality). Seperated the tap registering from the actual menu making stuff, so the seperate step of registering the tap and the menu is no longer needed. Removed all things related to this double registering. svn path=/trunk/; revision=10180
Diffstat (limited to 'make-tapreg-dotc')
-rwxr-xr-xmake-tapreg-dotc19
1 files changed, 0 insertions, 19 deletions
diff --git a/make-tapreg-dotc b/make-tapreg-dotc
index f68720633c..d3c470529c 100755
--- a/make-tapreg-dotc
+++ b/make-tapreg-dotc
@@ -39,23 +39,4 @@ done | while read func; do
done
echo '}' >>${outfile}-tmp
-#
-# Build code to call all the tap listener menu item registration routines.
-#
-echo 'void register_all_tap_menus(void) {' >>${outfile}-tmp
-for f in "$@"
-do
- if [ -f $f ]
- then
- srcfile=$f
- else
- srcfile=$srcdir/$f
- fi
- grep '^register_tap_menu_[a-z_0-9A-Z]* *(' $srcfile 2>/dev/null | grep -v ';' | sed -e 's/(.*//'
-done | while read func; do
- echo " { extern void $func (void);" >>${outfile}-tmp
- echo " $func ();}" >>${outfile}-tmp
-done
-echo '}' >>${outfile}-tmp
-
mv ${outfile}-tmp ${outfile}