projects
/
apple
/
libc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Libc-763.11.tar.gz
[apple/libc.git]
/
compat-43
/
FreeBSD
/
gethostid.c
diff --git
a/compat-43/FreeBSD/gethostid.c
b/compat-43/FreeBSD/gethostid.c
index 0f08fad14bf36780d5e26bf342a980913b0c1b24..3a7da2224f5c768b1a24d6c309779a72ff781076 100644
(file)
--- a/
compat-43/FreeBSD/gethostid.c
+++ b/
compat-43/FreeBSD/gethostid.c
@@
-10,10
+10,6
@@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by the University of
- * California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
@@
-35,11
+31,13
@@
static char sccsid[] = "@(#)gethostid.c 8.1 (Berkeley) 6/2/93";
#endif /* LIBC_SCCS and not lint */
#include <sys/cdefs.h>
static char sccsid[] = "@(#)gethostid.c 8.1 (Berkeley) 6/2/93";
#endif /* LIBC_SCCS and not lint */
#include <sys/cdefs.h>
-__FBSDID("$FreeBSD: src/lib/libc/compat-43/gethostid.c,v 1.
3 2002/05/28 16:56:57 alfred
Exp $");
+__FBSDID("$FreeBSD: src/lib/libc/compat-43/gethostid.c,v 1.
5 2007/01/09 00:27:49 imp
Exp $");
#include <sys/param.h>
#include <sys/sysctl.h>
#include <sys/param.h>
#include <sys/sysctl.h>
+#include <unistd.h>
+
long
gethostid(void)
{
long
gethostid(void)
{