summaryrefslogtreecommitdiff
path: root/packet-isis-clv.c
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2002-08-02 23:36:07 +0000
committerJörg Mayer <jmayer@loplof.de>2002-08-02 23:36:07 +0000
commit173fe5aef4167b9ad35fe514d05ef25fb66c076f (patch)
tree21967e4c27ac5e02aa39319022dd2858682fc5f4 /packet-isis-clv.c
parentff72b97ee01caee4dff97d07195d802086c65f38 (diff)
downloadwireshark-173fe5aef4167b9ad35fe514d05ef25fb66c076f.tar.gz
Replace the types from sys/types.h and netinet/in.h by their glib.h
equivalents for the toplevel directory. The removal of winsock2.h will hopefully not cause any problems under MSVC++, as those files using struct timeval still include wtap.h, which still includes winsock2.h. svn path=/trunk/; revision=5932
Diffstat (limited to 'packet-isis-clv.c')
-rw-r--r--packet-isis-clv.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/packet-isis-clv.c b/packet-isis-clv.c
index 0c3e9f70f9..973fed8353 100644
--- a/packet-isis-clv.c
+++ b/packet-isis-clv.c
@@ -1,7 +1,7 @@
/* packet-isis-clv.c
* Common CLV decode routines.
*
- * $Id: packet-isis-clv.c,v 1.21 2002/06/29 23:03:24 guy Exp $
+ * $Id: packet-isis-clv.c,v 1.22 2002/08/02 23:35:51 jmayer Exp $
* Stuart Stanley <stuarts@mxmail.net>
*
* Ethereal - Network traffic analyzer
@@ -27,10 +27,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <stdio.h>
#include <string.h>
#include <glib.h>
@@ -157,7 +153,7 @@ void
isis_dissect_authentication_clv(tvbuff_t *tvb, proto_tree *tree, int offset,
int length, char *meaning)
{
- u_char pw_type;
+ guchar pw_type;
char sbuf[300]; /* 255 + header info area */
char *s = sbuf;
int auth_unsupported;