Include "prototypes.h" to make sure the exported prototypes are
the ones used for the definition of functions.
This commit is contained in:
@@ -10,6 +10,9 @@
|
||||
#ifdef HAVE_SYS_RESOURCE_H
|
||||
#include <sys/resource.h>
|
||||
#endif
|
||||
|
||||
#include "prototypes.h"
|
||||
|
||||
/*
|
||||
* pwd_init - ignore signals, and set resource limits to safe
|
||||
* values. Call this before modifying password files, so that
|
||||
|
||||
@@ -36,6 +36,8 @@
|
||||
#ident "$Id$"
|
||||
|
||||
#include "defines.h"
|
||||
#include "prototypes.h"
|
||||
|
||||
#ifndef USE_GETDATE
|
||||
#define USE_GETDATE 1
|
||||
#endif
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "defines.h"
|
||||
#include "prototypes.h"
|
||||
#include "getdef.h"
|
||||
/*
|
||||
* tz - return local timezone name
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
#include <config.h>
|
||||
|
||||
#include "defines.h"
|
||||
#include "prototypes.h"
|
||||
|
||||
#include <utmp.h>
|
||||
|
||||
|
||||
@@ -13,6 +13,8 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include "defines.h"
|
||||
#include "prototypes.h"
|
||||
|
||||
char *xmalloc (size_t size)
|
||||
{
|
||||
char *ptr;
|
||||
|
||||
Reference in New Issue
Block a user