diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-07-29 06:09:59 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-07-29 06:09:59 +0000 |
commit | 6e21561be8a3f9a29a438ea945b7be7b933fc159 (patch) | |
tree | 8e70c43d1f42de696be79b546042e67623be1c06 /wiretap/radcom.c | |
parent | 4298a1f07da62f4791fcb5664fa5ba43b29944a3 (diff) |
From Joerg Mayer:
All files:
- Replace types from sys/types.h by those from glib.h
- Replace ntoh family of macros from netinet/in.h and winsock2.h
by g_ntoh family from glib.h
- Remove now unneeded includes of sys/types.h, netinet/in.h and
winsock2.h
wtap.h
Move includes to the top
svn path=/trunk/; revision=5909
Diffstat (limited to 'wiretap/radcom.c')
-rw-r--r-- | wiretap/radcom.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/wiretap/radcom.c b/wiretap/radcom.c index 1d6586bec8..cda21a448a 100644 --- a/wiretap/radcom.c +++ b/wiretap/radcom.c @@ -1,6 +1,6 @@ /* radcom.c * - * $Id: radcom.c,v 1.37 2002/06/07 07:27:35 guy Exp $ + * $Id: radcom.c,v 1.38 2002/07/29 06:09:59 guy Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu> @@ -69,11 +69,11 @@ struct radcomrec_hdr { static gboolean radcom_read(wtap *wth, int *err, long *data_offset); static gboolean radcom_seek_read(wtap *wth, long seek_off, - union wtap_pseudo_header *pseudo_header, u_char *pd, int length, + union wtap_pseudo_header *pseudo_header, guchar *pd, int length, int *err); static int radcom_read_rec_header(FILE_T fh, struct radcomrec_hdr *hdr, int *err); -static gboolean radcom_read_rec_data(FILE_T fh, u_char *pd, int length, +static gboolean radcom_read_rec_data(FILE_T fh, guchar *pd, int length, int *err); int radcom_open(wtap *wth, int *err) @@ -297,7 +297,7 @@ static gboolean radcom_read(wtap *wth, int *err, long *data_offset) static gboolean radcom_seek_read(wtap *wth, long seek_off, - union wtap_pseudo_header *pseudo_header, u_char *pd, int length, int *err) + union wtap_pseudo_header *pseudo_header, guchar *pd, int length, int *err) { int ret; struct radcomrec_hdr hdr; @@ -345,7 +345,7 @@ radcom_read_rec_header(FILE_T fh, struct radcomrec_hdr *hdr, int *err) } static gboolean -radcom_read_rec_data(FILE_T fh, u_char *pd, int length, int *err) +radcom_read_rec_data(FILE_T fh, guchar *pd, int length, int *err) { int bytes_read; |