-/* $OpenBSD: pm_direct.c,v 1.33 2022/10/23 08:00:10 kn Exp $ */
+/* $OpenBSD: pm_direct.c,v 1.34 2022/12/28 07:40:23 jca Exp $ */
/* $NetBSD: pm_direct.c,v 1.9 2000/06/08 22:10:46 tsubai Exp $ */
/*
* This function dumps contents of the PMData
*/
void
-pm_printerr(ttl, rval, num, data)
- char *ttl;
- int rval;
- int num;
- char *data;
+pm_printerr(char *ttl, int rval, int num, char *data)
{
int i;
-/* $OpenBSD: ofdev.c,v 1.28 2022/10/12 09:23:45 kn Exp $ */
+/* $OpenBSD: ofdev.c,v 1.29 2022/12/28 07:40:23 jca Exp $ */
/* $NetBSD: ofdev.c,v 1.1 1997/04/16 20:29:20 thorpej Exp $ */
/*
int nfsys;
static u_long
-get_long(p)
- const void *p;
+get_long(const void *p)
{
const unsigned char *cp = p;
* Find a valid disklabel.
*/
static int
-search_label(devp, off, buf, lp, off0)
- struct of_dev *devp;
- u_long off;
- char *buf;
- struct disklabel *lp;
- u_long off0;
+search_label(struct of_dev *devp, u_long off, char *buf, struct disklabel *lp,
+ u_long off0)
{
size_t read;
struct dos_partition *p;