Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/pgoyette-compat]: src/sys The uipc_syscalls_40 compat routine doesn't ha...



details:   https://anonhg.NetBSD.org/src/rev/9a1b3c1e1954
branches:  pgoyette-compat
changeset: 830733:9a1b3c1e1954
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Thu Sep 20 09:23:22 2018 +0000

description:
The uipc_syscalls_40 compat routine doesn't have a ``struct lwp *l''
argument - adjust hook parameter lists accordingly.

diffstat:

 sys/net/if.c          |  8 ++++----
 sys/sys/compat_stub.h |  4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (48 lines):

diff -r b6416c2fbcf4 -r 9a1b3c1e1954 sys/net/if.c
--- a/sys/net/if.c      Thu Sep 20 07:34:09 2018 +0000
+++ b/sys/net/if.c      Thu Sep 20 09:23:22 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if.c,v 1.419.2.11 2018/09/20 07:34:10 pgoyette Exp $   */
+/*     $NetBSD: if.c,v 1.419.2.12 2018/09/20 09:23:22 pgoyette Exp $   */
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2008 The NetBSD Foundation, Inc.
@@ -90,7 +90,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.419.2.11 2018/09/20 07:34:10 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.419.2.12 2018/09/20 09:23:22 pgoyette Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_inet.h"
@@ -3110,9 +3110,9 @@
  * Interface for calling the compat routines
  */
 MODULE_CALL_HOOK_DECL(uipc_syscalls_40_hook, f,
-    (struct lwp *l, int cmd, void *data), (l, cmd, data), enosys());
+    (struct lwp *l, int cmd, void *data), (cmd, data), enosys());
 MODULE_CALL_HOOK(uipc_syscalls_40_hook, f,
-    (struct lwp *l, int cmd, void *data), (l, cmd, data), enosys());
+    (struct lwp *l, int cmd, void *data), (cmd, data), enosys());
 
 MODULE_CALL_HOOK_DECL(uipc_syscalls_50_hook, f,
     (struct lwp *l, int cmd, void *data), (l, cmd, data), enosys());
diff -r b6416c2fbcf4 -r 9a1b3c1e1954 sys/sys/compat_stub.h
--- a/sys/sys/compat_stub.h     Thu Sep 20 07:34:09 2018 +0000
+++ b/sys/sys/compat_stub.h     Thu Sep 20 09:23:22 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_stub.h,v 1.1.2.30 2018/09/20 07:34:10 pgoyette Exp $        */
+/* $NetBSD: compat_stub.h,v 1.1.2.31 2018/09/20 09:23:22 pgoyette Exp $        */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -175,7 +175,7 @@
  * uipc_syscalls_40 compatability
  */
 
-MODULE_HOOK(uipc_syscalls_40_hook, (struct lwp *, u_long, void *));
+MODULE_HOOK(uipc_syscalls_40_hook, (u_long cmd, void *data));
 
 /*
  * uipc_syscalls_50 compatability



Home | Main Index | Thread Index | Old Index