diff options
| author | martin <martin@NetBSD.org> | 2022-07-11 15:12:24 +0000 |
|---|---|---|
| committer | martin <martin@NetBSD.org> | 2022-07-11 15:12:24 +0000 |
| commit | aceb30220e8cbbc8e596b8530ca8ff839e7f3591 (patch) | |
| tree | 34bdfb3db019130abdf607cfc144efa8acae027d /usr.sbin/sysinst | |
| parent | 1ebc4459a9f872d53569f417783af137969470c0 (diff) | |
Avoid C++-isms (stupid muscle memory) to fix the build.
Diffstat (limited to 'usr.sbin/sysinst')
| -rw-r--r-- | usr.sbin/sysinst/defs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysinst/defs.h b/usr.sbin/sysinst/defs.h index 9f9d2708d87..23219bab48d 100644 --- a/usr.sbin/sysinst/defs.h +++ b/usr.sbin/sysinst/defs.h @@ -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 |
