get & setdomainname are COMPAT_09, not COMPAT_43
This commit is contained in:
parent
9b0d8f0555
commit
326e5bd552
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)kern_xxx.c 7.17 (Berkeley) 4/20/91
|
||||
* $Id: kern_xxx.c,v 1.14 1994/05/16 09:57:42 cgd Exp $
|
||||
* $Id: kern_xxx.c,v 1.15 1994/05/17 00:04:39 cgd Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -110,7 +110,9 @@ osethostname(p, uap, retval)
|
||||
hostname[hostnamelen] = 0;
|
||||
return (error);
|
||||
}
|
||||
#endif /* COMPAT_43 || COMPAT_SUNOS */
|
||||
|
||||
#if defined(COMPAT_09) || defined(COMPAT_SUNOS)
|
||||
struct ogetdomainname_args {
|
||||
char *domainname;
|
||||
u_int len;
|
||||
@ -149,7 +151,7 @@ osetdomainname(p, uap, retval)
|
||||
domainname[domainnamelen] = 0;
|
||||
return (error);
|
||||
}
|
||||
#endif /* COMPAT_43 || COMPAT_SUNOS */
|
||||
#endif /* COMPAT_09 || COMPAT_SUNOS */
|
||||
|
||||
#ifdef COMPAT_09
|
||||
struct outsname {
|
||||
|
Loading…
Reference in New Issue
Block a user