Module Name: src Committed By: pgoyette Date: Wed Oct 3 21:52:02 UTC 2018
Modified Files: src/sys/compat/common [pgoyette-compat]: if_43.c if_43.h Log Message: Don't define if_43_{init,fini}() in multiple .h files. To generate a diff of this commit: cvs rdiff -u -r1.14.2.8 -r1.14.2.9 src/sys/compat/common/if_43.c cvs rdiff -u -r1.1.20.1 -r1.1.20.2 src/sys/compat/common/if_43.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/compat/common/if_43.c diff -u src/sys/compat/common/if_43.c:1.14.2.8 src/sys/compat/common/if_43.c:1.14.2.9 --- src/sys/compat/common/if_43.c:1.14.2.8 Wed Oct 3 21:27:14 2018 +++ src/sys/compat/common/if_43.c Wed Oct 3 21:52:02 2018 @@ -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 @@ __KERNEL_RCSID(0, "$NetBSD: if_43.c,v 1. #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> Index: src/sys/compat/common/if_43.h diff -u src/sys/compat/common/if_43.h:1.1.20.1 src/sys/compat/common/if_43.h:1.1.20.2 --- src/sys/compat/common/if_43.h:1.1.20.1 Wed Oct 3 21:27:14 2018 +++ src/sys/compat/common/if_43.h Wed Oct 3 21:52:02 2018 @@ -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_ */