kern_xxx.c (127911) | kern_xxx.c (130344) |
---|---|
1/* 2 * Copyright (c) 1982, 1986, 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 16 unchanged lines hidden (view full) --- 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)kern_xxx.c 8.2 (Berkeley) 11/14/93 30 */ 31 32#include <sys/cdefs.h> | 1/* 2 * Copyright (c) 1982, 1986, 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 16 unchanged lines hidden (view full) --- 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)kern_xxx.c 8.2 (Berkeley) 11/14/93 30 */ 31 32#include <sys/cdefs.h> |
33__FBSDID("$FreeBSD: head/sys/kern/kern_xxx.c 127911 2004-04-05 21:03:37Z imp $"); | 33__FBSDID("$FreeBSD: head/sys/kern/kern_xxx.c 130344 2004-06-11 11:16:26Z phk $"); |
34 35#include "opt_compat.h" 36 37#include <sys/param.h> 38#include <sys/systm.h> 39#include <sys/sysproto.h> 40#include <sys/kernel.h> 41#include <sys/proc.h> 42#include <sys/lock.h> 43#include <sys/mutex.h> 44#include <sys/sysctl.h> 45#include <sys/utsname.h> 46 47 | 34 35#include "opt_compat.h" 36 37#include <sys/param.h> 38#include <sys/systm.h> 39#include <sys/sysproto.h> 40#include <sys/kernel.h> 41#include <sys/proc.h> 42#include <sys/lock.h> 43#include <sys/mutex.h> 44#include <sys/sysctl.h> 45#include <sys/utsname.h> 46 47 |
48#if defined(COMPAT_43) || defined(COMPAT_SUNOS) | 48#if defined(COMPAT_43) |
49 50#ifndef _SYS_SYSPROTO_H_ 51struct gethostname_args { 52 char *hostname; 53 u_int len; 54}; 55#endif 56/* --- 59 unchanged lines hidden (view full) --- 116ogethostid(td, uap) 117 struct thread *td; 118 struct ogethostid_args *uap; 119{ 120 121 *(long *)(td->td_retval) = hostid; 122 return (0); 123} | 49 50#ifndef _SYS_SYSPROTO_H_ 51struct gethostname_args { 52 char *hostname; 53 u_int len; 54}; 55#endif 56/* --- 59 unchanged lines hidden (view full) --- 116ogethostid(td, uap) 117 struct thread *td; 118 struct ogethostid_args *uap; 119{ 120 121 *(long *)(td->td_retval) = hostid; 122 return (0); 123} |
124#endif /* COMPAT_43 || COMPAT_SUNOS */ | 124#endif /* COMPAT_43 */ |
125 126#ifdef COMPAT_43 127#ifndef _SYS_SYSPROTO_H_ 128struct osethostid_args { 129 long hostid; 130}; 131#endif 132/* --- 181 unchanged lines hidden --- | 125 126#ifdef COMPAT_43 127#ifndef _SYS_SYSPROTO_H_ 128struct osethostid_args { 129 long hostid; 130}; 131#endif 132/* --- 181 unchanged lines hidden --- |