-/* $OpenBSD: parsenfsfh.c,v 1.14 2016/01/15 18:02:18 mmcc Exp $ */
+/* $OpenBSD: parsenfsfh.c,v 1.15 2023/09/06 05:54:07 jsg Exp $ */
/*
* Copyright (c) 1993, 1994 Jeffrey C. Mogul, Digital Equipment Corporation,
static int is_UCX(unsigned char *);
void
-Parse_fh(fh, fsidp, inop, osnamep, fsnamep)
-caddr_t *fh;
-my_fsid *fsidp;
-ino_t *inop;
-char **osnamep; /* if non-NULL, return OS name here */
-char **fsnamep; /* if non-NULL, return server fs name here (for VMS) */
+Parse_fh(caddr_t *fh, my_fsid *fsidp, ino_t *inop,
+ char **osnamep, /* if non-NULL, return OS name here */
+ char **fsnamep) /* if non-NULL, return server fs name here (for VMS) */
{
unsigned char *fhp = (unsigned char *)fh;
u_int32_t temp;
* (3) followed by string of nulls
*/
static int
-is_UCX(fhp)
-unsigned char *fhp;
+is_UCX(unsigned char *fhp)
{
int i;
int seen_null = 0;
-/* $OpenBSD: print-stp.c,v 1.11 2023/03/13 14:58:01 mbuhl Exp $ */
+/* $OpenBSD: print-stp.c,v 1.12 2023/09/06 05:54:07 jsg Exp $ */
/*
* Copyright (c) 2000 Jason L. Wright (jason@thought.net)
static void stp_print_tbpdu(const u_char *, u_int);
void
-stp_print(p, len)
- const u_char *p;
- u_int len;
+stp_print(const u_char *p, u_int len)
{
u_int16_t id;
int proto = STP_PROTO_STP;
}
static void
-stp_print_cbpdu(p, len, proto)
- const u_char *p;
- u_int len;
- int proto;
+stp_print_cbpdu(const u_char *p, u_int len, int proto)
{
u_int32_t cost;
u_int16_t t;
}
static void
-stp_print_tbpdu(p, len)
- const u_char *p;
- u_int len;
+stp_print_tbpdu(const u_char *p, u_int len)
{
printf(" tcn");
}
-/* $OpenBSD: print-sunrpc.c,v 1.22 2022/01/05 05:29:54 dlg Exp $ */
+/* $OpenBSD: print-sunrpc.c,v 1.23 2023/09/06 05:54:07 jsg Exp $ */
/*
* Copyright (c) 1992, 1993, 1994, 1995, 1996
}
static char *
-progstr(prog)
- u_int32_t prog;
+progstr(u_int32_t prog)
{
char progname[32];
static char buf[32];