diff options
author | Francois-Xavier Le Bail <fx.lebail@yahoo.com> | 2014-03-26 14:16:05 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <fx.lebail@yahoo.com> | 2014-03-26 14:16:17 +0100 |
commit | 01c24e2cfc8a988da3c598b79edfe1e2ff76b4f8 (patch) | |
tree | 7c58dee0e2621e28c27121c6dbbf433e17a05325 /parsenfsfh.c | |
parent | b6303af682e72841f79ac6847f93b0cb0a49c549 (diff) | |
download | tcpdump-01c24e2cfc8a988da3c598b79edfe1e2ff76b4f8.tar.gz |
parsenfsfh: fix old-style function definitions
Diffstat (limited to 'parsenfsfh.c')
-rw-r--r-- | parsenfsfh.c | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/parsenfsfh.c b/parsenfsfh.c index 6240e0df..fb79333d 100644 --- a/parsenfsfh.c +++ b/parsenfsfh.c @@ -105,14 +105,11 @@ static int is_UCX(const unsigned char *); void -Parse_fh(fh, len, fsidp, inop, osnamep, fsnamep, ourself) -register const unsigned char *fh; -int len _U_; -my_fsid *fsidp; -u_int32_t *inop; -const char **osnamep; /* if non-NULL, return OS name here */ -const char **fsnamep; /* if non-NULL, return server fs name here (for VMS) */ -int ourself; /* true if file handle was generated on this host */ +Parse_fh(register const unsigned char *fh, int len _U_, my_fsid *fsidp, + u_int32_t *inop, + const char **osnamep, /* if non-NULL, return OS name here */ + const char **fsnamep, /* if non-NULL, return server fs name here (for VMS) */ + int ourself) /* true if file handle was generated on this host */ { register const unsigned char *fhp = fh; u_int32_t temp; @@ -445,8 +442,7 @@ int ourself; /* true if file handle was generated on this host */ * (3) followed by string of nulls */ static int -is_UCX(fhp) -const unsigned char *fhp; +is_UCX(const unsigned char *fhp) { register int i; int seen_null = 0; |