Source-Changes-HG archive

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

[src/pgoyette-compat]: src/sys The last of the rename



details:   https://anonhg.NetBSD.org/src/rev/2035e64163df
branches:  pgoyette-compat
changeset: 320989:2035e64163df
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Fri Mar 09 09:37:01 2018 +0000

description:
The last of the rename

diffstat:

 sys/compat/common/sysv_mod.c     |  10 +++++-----
 sys/modules/compat_sysv/Makefile |   4 ++--
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (57 lines):

diff -r 54ce3b9e81a7 -r 2035e64163df sys/compat/common/sysv_mod.c
--- a/sys/compat/common/sysv_mod.c      Fri Mar 09 04:48:42 2018 +0000
+++ b/sys/compat/common/sysv_mod.c      Fri Mar 09 09:37:01 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sysv_mod.c,v 1.1.2.5 2018/03/09 04:48:42 pgoyette Exp $        */
+/*     $NetBSD: sysv_mod.c,v 1.1.2.6 2018/03/09 09:37:01 pgoyette Exp $        */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sysv_mod.c,v 1.1.2.5 2018/03/09 04:48:42 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sysv_mod.c,v 1.1.2.6 2018/03/09 09:37:01 pgoyette Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -50,7 +50,7 @@
 int sysctl_kern_sysvipc50(SYSCTLFN_PROTO);
 #endif
 
-MODULE(MODULE_CLASS_EXEC, compat_sysv_ipc, "sysv_ipc");
+MODULE(MODULE_CLASS_EXEC, compat_sysv, "sysv_ipc");
 
 /* Build the syscall package based on options specified */
 
@@ -95,9 +95,9 @@
 };
 
 static int
-compat_sysv_ipc_modcmd(modcmd_t cmd, void *arg)
+compat_sysv_modcmd(modcmd_t cmd, void *arg)
 {
-       static (*orig_sysvipc50_sysctl)(SYSCTLFN_PROTO);
+       static int (*orig_sysvipc50_sysctl)(SYSCTLFN_PROTO);
 
        int error = 0;
 
diff -r 54ce3b9e81a7 -r 2035e64163df sys/modules/compat_sysv/Makefile
--- a/sys/modules/compat_sysv/Makefile  Fri Mar 09 04:48:42 2018 +0000
+++ b/sys/modules/compat_sysv/Makefile  Fri Mar 09 09:37:01 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3.10.2 2018/03/09 03:58:33 pgoyette Exp $
+# $NetBSD: Makefile,v 1.3.10.3 2018/03/09 09:37:01 pgoyette Exp $
 
 .include "../Makefile.inc"
 
@@ -15,7 +15,7 @@
 CPPFLAGS+=     -DCOMPAT_14
 CPPFLAGS+=     -DCOMPAT_50
 
-SRCS+= sysv_ipc.c
+SRCS+= sysv_mod.c
 SRCS+= kern_ipc_10.c
 SRCS+= sysv_msg_14.c sysv_sem_14.c sysv_shm_14.c
 SRCS+= sysv_msg_50.c sysv_sem_50.c sysv_shm_50.c



Home | Main Index | Thread Index | Old Index