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 Don't define if_43_{init, fini}()...
details: https://anonhg.NetBSD.org/src/rev/bd34f99a11bf
branches: pgoyette-compat
changeset: 830856:bd34f99a11bf
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Wed Oct 03 21:52:02 2018 +0000
description:
Don't define if_43_{init,fini}() in multiple .h files.
diffstat:
sys/compat/common/if_43.c | 5 +++--
sys/compat/common/if_43.h | 5 +----
2 files changed, 4 insertions(+), 6 deletions(-)
diffs (45 lines):
diff -r b356ddeb40fa -r bd34f99a11bf sys/compat/common/if_43.c
--- a/sys/compat/common/if_43.c Wed Oct 03 21:27:14 2018 +0000
+++ b/sys/compat/common/if_43.c Wed Oct 03 21:52:02 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_43.c,v 1.14.2.8 2018/10/03 21:27:14 pgoyette Exp $ */
+/* $NetBSD: if_43.c,v 1.14.2.9 2018/10/03 21:52:02 pgoyette Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1990, 1993
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_43.c,v 1.14.2.8 2018/10/03 21:27:14 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_43.c,v 1.14.2.9 2018/10/03 21:52:02 pgoyette Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@@ -73,6 +73,7 @@
#include <compat/sys/sockio.h>
#include <compat/common/compat_util.h>
+#include <compat/common/compat_mod.h>
#include <compat/common/if_43.h>
#include <uvm/uvm_extern.h>
diff -r b356ddeb40fa -r bd34f99a11bf sys/compat/common/if_43.h
--- a/sys/compat/common/if_43.h Wed Oct 03 21:27:14 2018 +0000
+++ b/sys/compat/common/if_43.h Wed Oct 03 21:52:02 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_43.h,v 1.1.20.1 2018/10/03 21:27:14 pgoyette Exp $ */
+/* $NetBSD: if_43.h,v 1.1.20.2 2018/10/03 21:52:02 pgoyette Exp $ */
/*-
* Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -36,9 +36,6 @@
extern u_long (*vec_compat_cvtcmd)(u_long);
extern int (*vec_compat_ifioctl)(struct socket *, u_long, u_long,
void *, struct lwp *);
-
-int if_43_init(void);
-int if_43_fini(void);
#endif
#endif /* !_COMPAT_IF_43_H_ */
Home |
Main Index |
Thread Index |
Old Index