Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Use __diagused
details: https://anonhg.NetBSD.org/src/rev/5317b20d988c
branches: trunk
changeset: 461313:5317b20d988c
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Fri Nov 22 15:57:49 2019 +0000
description:
Use __diagused
diffstat:
sys/kern/core_elf32.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (29 lines):
diff -r 2ab7f9f1b7e4 -r 5317b20d988c sys/kern/core_elf32.c
--- a/sys/kern/core_elf32.c Fri Nov 22 14:57:01 2019 +0000
+++ b/sys/kern/core_elf32.c Fri Nov 22 15:57:49 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: core_elf32.c,v 1.59 2019/11/20 19:37:53 pgoyette Exp $ */
+/* $NetBSD: core_elf32.c,v 1.60 2019/11/22 15:57:49 pgoyette Exp $ */
/*
* Copyright (c) 2001 Wasabi Systems, Inc.
@@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: core_elf32.c,v 1.59 2019/11/20 19:37:53 pgoyette Exp $");
+__KERNEL_RCSID(1, "$NetBSD: core_elf32.c,v 1.60 2019/11/22 15:57:49 pgoyette Exp $");
#ifdef _KERNEL_OPT
#include "opt_compat_netbsd32.h"
@@ -113,9 +113,7 @@
off_t notestart;
size_t notesize;
int error, i;
-#ifdef DIAGNOSTIC
- off_t offset;
-#endif
+ off_t offset __diagused;
struct note_state ns;
struct note_buf *nb;
Home |
Main Index |
Thread Index |
Old Index