diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2010-09-23 06:08:19 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2010-09-23 06:08:19 +0000 |
commit | a1925522db977eb4ec45ea023a6d68b8ec3ebf3f (patch) | |
tree | ffdae4a89b32ecc12a92475e2bbce1803011ec1a /tap-rpcprogs.c | |
parent | f12ef203b39206726a435590e64f8014f6b84ec9 (diff) |
Remove unnecessary include: register.h
svn path=/trunk/; revision=34194
Diffstat (limited to 'tap-rpcprogs.c')
-rw-r--r-- | tap-rpcprogs.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/tap-rpcprogs.c b/tap-rpcprogs.c index ecf4901688..295932bec0 100644 --- a/tap-rpcprogs.c +++ b/tap-rpcprogs.c @@ -6,17 +6,17 @@ * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs - * + * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. @@ -41,7 +41,6 @@ #include <epan/tap.h> #include <epan/stat_cmd_args.h> #include <epan/dissectors/packet-rpc.h> -#include "register.h" /* used to keep track of statistics for a specific program/version */ typedef struct _rpc_program_t { @@ -128,7 +127,7 @@ rpcprogs_packet(void *dummy1 _U_, packet_info *pinfo, epan_dissect_t *edt _U_, c } } - + /* we are only interested in reply packets */ if(ri->request || !rp){ return 0; @@ -162,7 +161,7 @@ rpcprogs_packet(void *dummy1 _U_, packet_info *pinfo, epan_dissect_t *edt _U_, c rp->max.secs=delta.secs; rp->max.nsecs=delta.nsecs; } - + rp->tot.secs += delta.secs; rp->tot.nsecs += delta.nsecs; if(rp->tot.nsecs>1000000000){ |