Include "prototypes.h" to make sure the exported prototypes are
the ones used for the definition of functions.
This commit is contained in:
parent
b7d372d8e3
commit
96bca84ca4
@ -4,6 +4,10 @@
|
|||||||
putgrent prototype.
|
putgrent prototype.
|
||||||
* lib/prototypes.h: "shadowio.h" was included for the definition
|
* lib/prototypes.h: "shadowio.h" was included for the definition
|
||||||
of the spwd structure. Replace this include by <shadow.h>
|
of the spwd structure. Replace this include by <shadow.h>
|
||||||
|
* libmisc/xmalloc.c, libmisc/utmp.c, libmisc/strtoday.c,
|
||||||
|
libmisc/pwd_init.c, libmisc/tz.c, lib/port.c, lib/fputsx.c:
|
||||||
|
Include "prototypes.h" to make sure the exported prototypes are
|
||||||
|
the ones used for the definition of functions.
|
||||||
|
|
||||||
2008-01-01 Nicolas François <nicolas.francois@centraliens.net>
|
2008-01-01 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
|
@ -31,6 +31,7 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "defines.h"
|
#include "defines.h"
|
||||||
|
#include "prototypes.h"
|
||||||
|
|
||||||
#ident "$Id$"
|
#ident "$Id$"
|
||||||
|
|
||||||
|
@ -35,6 +35,7 @@
|
|||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include "defines.h"
|
#include "defines.h"
|
||||||
|
#include "prototypes.h"
|
||||||
#include "port.h"
|
#include "port.h"
|
||||||
extern int errno;
|
extern int errno;
|
||||||
|
|
||||||
|
@ -10,6 +10,9 @@
|
|||||||
#ifdef HAVE_SYS_RESOURCE_H
|
#ifdef HAVE_SYS_RESOURCE_H
|
||||||
#include <sys/resource.h>
|
#include <sys/resource.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "prototypes.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* pwd_init - ignore signals, and set resource limits to safe
|
* pwd_init - ignore signals, and set resource limits to safe
|
||||||
* values. Call this before modifying password files, so that
|
* values. Call this before modifying password files, so that
|
||||||
|
@ -36,6 +36,8 @@
|
|||||||
#ident "$Id$"
|
#ident "$Id$"
|
||||||
|
|
||||||
#include "defines.h"
|
#include "defines.h"
|
||||||
|
#include "prototypes.h"
|
||||||
|
|
||||||
#ifndef USE_GETDATE
|
#ifndef USE_GETDATE
|
||||||
#define USE_GETDATE 1
|
#define USE_GETDATE 1
|
||||||
#endif
|
#endif
|
||||||
|
@ -34,6 +34,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "defines.h"
|
#include "defines.h"
|
||||||
|
#include "prototypes.h"
|
||||||
#include "getdef.h"
|
#include "getdef.h"
|
||||||
/*
|
/*
|
||||||
* tz - return local timezone name
|
* tz - return local timezone name
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
#include "defines.h"
|
#include "defines.h"
|
||||||
|
#include "prototypes.h"
|
||||||
|
|
||||||
#include <utmp.h>
|
#include <utmp.h>
|
||||||
|
|
||||||
|
@ -13,6 +13,8 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "defines.h"
|
#include "defines.h"
|
||||||
|
#include "prototypes.h"
|
||||||
|
|
||||||
char *xmalloc (size_t size)
|
char *xmalloc (size_t size)
|
||||||
{
|
{
|
||||||
char *ptr;
|
char *ptr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user