Include a couple of headers to ensure consistency between the prototype and

the function definition.
This commit is contained in:
Stefan Farfeleder 2005-09-12 19:52:42 +00:00
parent 456068c703
commit 613100918d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=150065
16 changed files with 22 additions and 0 deletions

View File

@ -40,6 +40,8 @@ __FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/sysctl.h>
#include <unistd.h>
long
gethostid(void)
{

View File

@ -41,6 +41,7 @@ __FBSDID("$FreeBSD$");
#include <errno.h>
#include <fcntl.h>
#include <paths.h>
#include <stdlib.h>
#include <signal.h>
#include <unistd.h>
#include "un-namespace.h"

View File

@ -43,6 +43,7 @@ __FBSDID("$FreeBSD$");
#include <err.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/param.h>
#include <sys/stat.h>

View File

@ -41,6 +41,7 @@ __FBSDID("$FreeBSD$");
#include <sys/sysctl.h>
#include <errno.h>
#include <unistd.h>
int
gethostname(name, namelen)

View File

@ -40,6 +40,8 @@ __FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/sysctl.h>
#include <osreldate.h>
int
getosreldate(void)
{

View File

@ -40,6 +40,8 @@ __FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/sysctl.h>
#include <unistd.h>
/*
* This is unlikely to change over the running time of any
* program, so we cache the result to save some syscalls.

View File

@ -46,6 +46,7 @@ __FBSDID("$FreeBSD$");
#include "un-namespace.h"
#include "libc_private.h"
#include "telldir.h"
/*
* get next entry in a directory.

View File

@ -40,6 +40,8 @@ __FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/sysctl.h>
#include <unistd.h>
int
sethostname(const char *name, int namelen)
{

View File

@ -43,6 +43,7 @@ __FBSDID("$FreeBSD$");
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
static struct {
char *name;

View File

@ -30,6 +30,8 @@
#include <stdint.h>
#include <machine/sysarch.h>
#include "libc_private.h"
void
_set_tp(void *tp)
{

View File

@ -40,6 +40,8 @@ static char sccsid[] = "@(#)ldexp.c 8.1 (Berkeley) 6/4/93";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <math.h>
/*
* ldexp(value, exp): return value * (2 ** exp).
*

View File

@ -37,6 +37,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <ctype.h>
#include <stdio.h>
#include <runetype.h>

View File

@ -37,6 +37,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <ctype.h>
#include <stdio.h>
#include <runetype.h>

View File

@ -37,6 +37,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <ctype.h>
#include <stdio.h>
#include <runetype.h>

View File

@ -34,6 +34,7 @@ __FBSDID("$FreeBSD$");
#include <sys/extattr.h>
#include <errno.h>
#include <libutil.h>
#include <string.h>
int

View File

@ -33,6 +33,7 @@ __FBSDID("$FreeBSD$");
#include <errno.h>
#include <limits.h>
#include <locale.h>
#include <monetary.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>