Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/pgoyette-compat]: src/sys Remove a couple of unneeded #include-s
details: https://anonhg.NetBSD.org/src/rev/1d683e5c7200
branches: pgoyette-compat
changeset: 447554:1d683e5c7200
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Tue Jan 15 22:27:07 2019 +0000
description:
Remove a couple of unneeded #include-s
XXX There's probably a lot more clean-up that could happen here!
diffstat:
sys/compat/common/rtsock_50.c | 8 ++------
sys/net/rtsock.c | 6 ++----
2 files changed, 4 insertions(+), 10 deletions(-)
diffs (46 lines):
diff -r 9b0f4b2d6153 -r 1d683e5c7200 sys/compat/common/rtsock_50.c
--- a/sys/compat/common/rtsock_50.c Tue Jan 15 22:06:34 2019 +0000
+++ b/sys/compat/common/rtsock_50.c Tue Jan 15 22:27:07 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtsock_50.c,v 1.6.2.5 2019/01/15 03:40:35 pgoyette Exp $ */
+/* $NetBSD: rtsock_50.c,v 1.6.2.6 2019/01/15 22:27:07 pgoyette Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -61,11 +61,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rtsock_50.c,v 1.6.2.5 2019/01/15 03:40:35 pgoyette Exp $");
-
-#ifdef _KERNEL_OPT
-#include "opt_compat_netbsd.h"
-#endif
+__KERNEL_RCSID(0, "$NetBSD: rtsock_50.c,v 1.6.2.6 2019/01/15 22:27:07 pgoyette Exp $");
#define COMPAT_RTSOCK /* Use the COMPATNAME/COMPATCALL macros and the
* various other compat definitions - see
diff -r 9b0f4b2d6153 -r 1d683e5c7200 sys/net/rtsock.c
--- a/sys/net/rtsock.c Tue Jan 15 22:06:34 2019 +0000
+++ b/sys/net/rtsock.c Tue Jan 15 22:27:07 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtsock.c,v 1.238.2.21 2019/01/15 04:10:34 pgoyette Exp $ */
+/* $NetBSD: rtsock.c,v 1.238.2.22 2019/01/15 22:27:07 pgoyette Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -61,13 +61,11 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rtsock.c,v 1.238.2.21 2019/01/15 04:10:34 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rtsock.c,v 1.238.2.22 2019/01/15 22:27:07 pgoyette Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
-#include "opt_mpls.h"
#include "opt_compat_netbsd.h"
-#include "opt_net_mpsafe.h"
#endif
#include <sys/param.h>
Home |
Main Index |
Thread Index |
Old Index