Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Add hint comments for big ifdef
details: https://anonhg.NetBSD.org/src/rev/155a0c319014
branches: trunk
changeset: 337193:155a0c319014
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Mon Apr 06 06:26:21 2015 +0000
description:
Add hint comments for big ifdef
diffstat:
sys/net/rtsock.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 9818c1dc54f1 -r 155a0c319014 sys/net/rtsock.c
--- a/sys/net/rtsock.c Mon Apr 06 06:20:27 2015 +0000
+++ b/sys/net/rtsock.c Mon Apr 06 06:26:21 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtsock.c,v 1.167 2015/04/03 20:01:07 rtr Exp $ */
+/* $NetBSD: rtsock.c,v 1.168 2015/04/06 06:26:21 ozaki-r Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rtsock.c,v 1.167 2015/04/03 20:01:07 rtr Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rtsock.c,v 1.168 2015/04/06 06:26:21 ozaki-r Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -107,7 +107,7 @@
#define DOMAINNAME "oroute"
CTASSERT(sizeof(struct ifa_xmsghdr) == 20);
DOMAIN_DEFINE(compat_50_routedomain); /* forward declare and add to link set */
-#else
+#else /* COMPAT_RTSOCK */
#define RTM_XVERSION RTM_VERSION
#define RT_XADVANCE(a,b) RT_ADVANCE(a,b)
#define RT_XROUNDUP(n) RT_ROUNDUP(n)
@@ -125,7 +125,7 @@
DOMAIN_DEFINE(routedomain); /* forward declare and add to link set */
#undef COMPAT_50
#undef COMPAT_14
-#endif
+#endif /* COMPAT_RTSOCK */
#ifndef COMPATCALL
#define COMPATCALL(name, args) do { } while (/*CONSTCOND*/ 0)
Home |
Main Index |
Thread Index |
Old Index