From Joerg Mayer: get rid of unused function arguments.
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 31 Mar 2002 21:09:00 +0000 (21:09 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 31 Mar 2002 21:09:00 +0000 (21:09 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5053 f5534014-38df-0310-8fa8-9805f1628bb7

packet-llc.c
xdlc.c
xdlc.h

index e6f10670d37723579700245e980c56de03426316..3bbe3a88d4e31e812d020b8444ba07f86f8af10f 100644 (file)
@@ -2,7 +2,7 @@
  * Routines for IEEE 802.2 LLC layer
  * Gilbert Ramirez <gram@alumni.rice.edu>
  *
- * $Id: packet-llc.c,v 1.95 2002/01/21 07:36:37 guy Exp $
+ * $Id: packet-llc.c,v 1.96 2002/03/31 21:09:00 guy Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -213,8 +213,7 @@ capture_llc(const u_char *pd, int offset, int len, packet_counts *ld) {
         * uses extended operation, so we don't need to determine
         * whether it's basic or extended operation; is that the case?
         */
-       control = get_xdlc_control(pd, offset+2, pd[offset+1] & SSAP_CR_BIT,
-           TRUE);
+       control = get_xdlc_control(pd, offset+2, pd[offset+1] & SSAP_CR_BIT);
        llc_header_len += XDLC_CONTROL_LEN(control, TRUE);
        if (is_snap)
                llc_header_len += 5;    /* 3 bytes of OUI, 2 bytes of protocol ID */
diff --git a/xdlc.c b/xdlc.c
index b27cedec99cb7ecd8160d0ae4068ba477a636c48..46152833b6ffe0e3148f9529df48bd8c7930b820 100644 (file)
--- a/xdlc.c
+++ b/xdlc.c
@@ -2,7 +2,7 @@
  * Routines for use by various SDLC-derived protocols, such as HDLC
  * and its derivatives LAPB, IEEE 802.2 LLC, etc..
  *
- * $Id: xdlc.c,v 1.17 2002/01/21 07:36:48 guy Exp $
+ * $Id: xdlc.c,v 1.18 2002/03/31 21:09:00 guy Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -159,7 +159,7 @@ static const value_string modifier_vals_resp[] = {
 };
 
 int
-get_xdlc_control(const u_char *pd, int offset, int is_response, int is_extended)
+get_xdlc_control(const u_char *pd, int offset, int is_extended)
 {
     guint16 control;
 
diff --git a/xdlc.h b/xdlc.h
index 8190cda23930fd695098c9bf41ec46a6815aac96..8d17ce4d0fc073db56a4a1c44b21e78d53bcccf2 100644 (file)
--- a/xdlc.h
+++ b/xdlc.h
@@ -2,7 +2,7 @@
  * Define *DLC frame types, and routine to dissect the control field of
  * a *DLC frame.
  *
- * $Id: xdlc.h,v 1.14 2000/08/11 13:33:50 deniel Exp $
+ * $Id: xdlc.h,v 1.15 2002/03/31 21:09:00 guy Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@zing.org>
@@ -79,7 +79,7 @@
 #define XDLC_CONTROL_LEN(control, is_extended) \
        ((((control) & 0x3) == XDLC_U || !(is_extended)) ? 1 : 2)
 
-int get_xdlc_control(const u_char *pd, int offset, int is_response,
+int get_xdlc_control(const u_char *pd, int offset,
   int extended);
 
 int dissect_xdlc_control(tvbuff_t *tvb, int offset, packet_info *pinfo,