aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/netxray.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-02-27 08:57:25 +0000
committerGuy Harris <guy@alum.mit.edu>2002-02-27 08:57:25 +0000
commitcbf5c537c4e0ad18f3363815c89e71511a3d3fd7 (patch)
tree76f73e3b705843a74596e48d8d86d05eaa1f4461 /wiretap/netxray.c
parent03e58907613b5f73236fcde0d81668a1f3f920bc (diff)
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/netxray.c')
-rw-r--r--wiretap/netxray.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/wiretap/netxray.c b/wiretap/netxray.c
index 7f0f6fe1ba..21da9c4e86 100644
--- a/wiretap/netxray.c
+++ b/wiretap/netxray.c
@@ -1,6 +1,6 @@
/* netxray.c
*
- * $Id: netxray.c,v 1.44 2002/02/08 10:07:40 guy Exp $
+ * $Id: netxray.c,v 1.45 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
@@ -340,7 +340,7 @@ static const int wtap_encap[] = {
/* Returns 0 if we could write the specified encapsulation type,
an error indication otherwise. */
-int netxray_dump_can_write_encap(int filetype, int encap)
+int netxray_dump_can_write_encap(int encap)
{
/* Per-packet encapsulations aren't supported. */
if (encap == WTAP_ENCAP_PER_PACKET)