diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-02-27 08:57:25 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-02-27 08:57:25 +0000 |
commit | cbf5c537c4e0ad18f3363815c89e71511a3d3fd7 (patch) | |
tree | 76f73e3b705843a74596e48d8d86d05eaa1f4461 /wiretap/snoop.c | |
parent | 03e58907613b5f73236fcde0d81668a1f3f920bc (diff) | |
download | wireshark-cbf5c537c4e0ad18f3363815c89e71511a3d3fd7.tar.gz |
From Joerg Mayer: remove unused variables and declarations of
non-existent functions.
Remove the "filetype" argument from the "can_write_encap" functions for
particular capture file types - the argument value is implicit, in that
the routine being called is the routine for that particular file type.
svn path=/trunk/; revision=4823
Diffstat (limited to 'wiretap/snoop.c')
-rw-r--r-- | wiretap/snoop.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wiretap/snoop.c b/wiretap/snoop.c index 1738b713bf..751bc6c477 100644 --- a/wiretap/snoop.c +++ b/wiretap/snoop.c @@ -1,6 +1,6 @@ /* snoop.c * - * $Id: snoop.c,v 1.40 2002/02/08 10:07:41 guy Exp $ + * $Id: snoop.c,v 1.41 2002/02/27 08:57:25 guy Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu> @@ -18,8 +18,8 @@ * 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. - * */ + #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -504,7 +504,7 @@ static const int wtap_encap[] = { /* Returns 0 if we could write the specified encapsulation type, an error indication otherwise. */ -int snoop_dump_can_write_encap(int filetype, int encap) +int snoop_dump_can_write_encap(int encap) { /* Per-packet encapsulations aren't supported. */ if (encap == WTAP_ENCAP_PER_PACKET) |