Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/pgoyette-compat]: src/sys/compat/common No need to compile conditionally...
details: https://anonhg.NetBSD.org/src/rev/a1165ba797eb
branches: pgoyette-compat
changeset: 320976:a1165ba797eb
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Thu Mar 08 08:56:47 2018 +0000
description:
No need to compile conditionally, since it won't be compiled at all
unless requested.
diffstat:
sys/compat/common/uipc_usrreq_70.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r 28067d448055 -r a1165ba797eb sys/compat/common/uipc_usrreq_70.c
--- a/sys/compat/common/uipc_usrreq_70.c Thu Mar 08 08:55:52 2018 +0000
+++ b/sys/compat/common/uipc_usrreq_70.c Thu Mar 08 08:56:47 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uipc_usrreq_70.c,v 1.1 2016/04/06 19:45:45 roy Exp $ */
+/* $NetBSD: uipc_usrreq_70.c,v 1.1.20.1 2018/03/08 08:56:47 pgoyette Exp $ */
/*-
* Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uipc_usrreq_70.c,v 1.1 2016/04/06 19:45:45 roy Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uipc_usrreq_70.c,v 1.1.20.1 2018/03/08 08:56:47 pgoyette Exp $");
#include <sys/param.h>
#include <sys/lwp.h>
@@ -42,7 +42,6 @@
#include <compat/sys/socket.h>
-#ifdef COMPAT_SOCKCRED70
struct mbuf *
compat_70_unp_addsockcred(struct lwp *l, struct mbuf *control)
{
@@ -67,4 +66,3 @@
return m_add(control, m);
}
-#endif
Home |
Main Index |
Thread Index |
Old Index