aboutsummaryrefslogtreecommitdiffstats
path: root/make-tapreg-dotc
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2004-02-22 18:47:04 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2004-02-22 18:47:04 +0000
commitcc1161ce40122db7569eb3b0a4025f3e088720dd (patch)
treec7e7f96441b0283c58a72b746e23d39c78f7e6a8 /make-tapreg-dotc
parent6b690049baccdfbc769af2f5dfcce4b8cc45d482 (diff)
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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10180 f5534014-38df-0310-8fa8-9805f1628bb7
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}