Module Name: src
Committed By: martin
Date: Mon Jul 11 15:12:24 UTC 2022
Modified Files:
src/usr.sbin/sysinst: defs.h
Log Message:
Avoid C++-isms (stupid muscle memory) to fix the build.
To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 src/usr.sbin/sysinst/defs.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/sysinst/defs.h
diff -u src/usr.sbin/sysinst/defs.h:1.86 src/usr.sbin/sysinst/defs.h:1.87
--- src/usr.sbin/sysinst/defs.h:1.86 Sun Jul 10 10:52:40 2022
+++ src/usr.sbin/sysinst/defs.h Mon Jul 11 15:12:24 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: defs.h,v 1.86 2022/07/10 10:52:40 martin Exp $ */
+/* $NetBSD: defs.h,v 1.87 2022/07/11 15:12:24 martin Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -949,7 +949,7 @@ int pm_getrefdev(struct pm_devs *);
void update_wedges(const char *);
void pm_destroy_all(void);
#else
-static inline int partman(struct install_partition_desc*) { return -1; }
+static inline int partman(struct install_partition_desc *i __unused) { return -1; }
static inline int pm_getrefdev(struct pm_devs *x __unused) { return -1; }
#define update_wedges(x) __nothing
#endif