Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/ultrix The compat_09_{get, set}domainname() syscal...



details:   https://anonhg.NetBSD.org/src/rev/53db391e0feb
branches:  trunk
changeset: 449329:53db391e0feb
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Sun Mar 03 22:26:30 2019 +0000

description:
The compat_09_{get,set}domainname() syscalls should not be defined
based on existence of COMPAT_09.  Make them modular instead, and
reference the compat_09 module.

diffstat:

 sys/compat/ultrix/syscalls.master |  15 ++++++---------
 1 files changed, 6 insertions(+), 9 deletions(-)

diffs (30 lines):

diff -r 139540e654e3 -r 53db391e0feb sys/compat/ultrix/syscalls.master
--- a/sys/compat/ultrix/syscalls.master Sun Mar 03 22:25:00 2019 +0000
+++ b/sys/compat/ultrix/syscalls.master Sun Mar 03 22:26:30 2019 +0000
@@ -1,4 +1,4 @@
-       $NetBSD: syscalls.master,v 1.57 2019/01/27 02:08:41 pgoyette Exp $
+       $NetBSD: syscalls.master,v 1.58 2019/03/03 22:26:30 pgoyette Exp $
 
 ;      @(#)syscalls.master     8.1 (Berkeley) 7/19/93
 
@@ -255,15 +255,12 @@
 162    UNIMPL          umount
 163    UNIMPL          async_daemon
 164    NOARGS          { int|compat_30_sys||getfh(char *fname, fhandle_t *fhp); }
-#if defined(COMPAT_09)
-165    NOARGS          { int|compat_09_sys||getdomainname(char *domainname, \
-                           int len); }
-166    NOARGS          { int|compat_09_sys||setdomainname(char *domainname, \
+165    NOARGS MODULAR compat_09 \
+                       { int|compat_09_sys||getdomainname(char *domainname, \
                            int len); }
-#else
-165    UNIMPL          compat_09_sys_getdomainname
-166    UNIMPL          compat_09_sys_setdomainname
-#endif
+166    NOARGS MODULAR compat_09 \
+                       { int|compat_09_sys||setdomainname(char *domainname, \
+                           int len); }
 167    UNIMPL
 168    STD             { int|ultrix_sys||quotactl(int cmd, char *special, \
                            int uid, void *addr); }



Home | Main Index | Thread Index | Old Index