Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/cddl/osnet/sys/sys osnet: fix lint warning about em...



details:   https://anonhg.NetBSD.org/src/rev/3bb7c0293e62
branches:  trunk
changeset: 1023376:3bb7c0293e62
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun Sep 05 10:18:31 2021 +0000

description:
osnet: fix lint warning about empty declaration

proc_bkpt.c(32): warning: empty declaration [0]

Use the same definition as in libarchive.

diffstat:

 external/cddl/osnet/sys/sys/cdefs.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (16 lines):

diff -r 2a42094588f7 -r 3bb7c0293e62 external/cddl/osnet/sys/sys/cdefs.h
--- a/external/cddl/osnet/sys/sys/cdefs.h       Sun Sep 05 09:57:43 2021 +0000
+++ b/external/cddl/osnet/sys/sys/cdefs.h       Sun Sep 05 10:18:31 2021 +0000
@@ -1,10 +1,10 @@
-/*     $NetBSD: cdefs.h,v 1.1 2018/05/28 21:05:10 chs Exp $    */
+/*     $NetBSD: cdefs.h,v 1.2 2021/09/05 10:18:31 rillig Exp $ */
 
 #ifndef _FREEBSD_SYS_CDEFS_H_
 #define _FREEBSD_SYS_CDEFS_H_
 
 #include_next <sys/cdefs.h>
 
-#define __FBSDID(x) /* nothing */
+#define __FBSDID(x) struct _undefined_hack
 
 #endif /* !_FREEBSD_SYS_CDEFS_H_ */



Home | Main Index | Thread Index | Old Index