More cleanups...only need one rusagestub.h

This commit is contained in:
Marc G. Fournier 1997-12-19 13:35:17 +00:00
parent 5acf432ddb
commit c6bd6860d7
14 changed files with 17 additions and 159 deletions

View File

@ -1,3 +1,5 @@
/* $Id: gethostname.c,v 1.2 1997/12/19 13:34:26 scrappy Exp $ */
#include <sys/types.h>
#include <string.h>

View File

@ -1,3 +1,5 @@
/* $Id: getrusage.c,v 1.3 1997/12/19 13:34:27 scrappy Exp $ */
#include <math.h> /* for pow() prototype */
#include <errno.h>

View File

@ -1,31 +0,0 @@
/*-------------------------------------------------------------------------
*
* rusagestub.h--
* Stubs for getrusage(3).
*
*
* Copyright (c) 1994, Regents of the University of California
*
* rusagestub.h,v 1.1.1.1 1994/11/07 05:19:39 andrew Exp
*
*-------------------------------------------------------------------------
*/
#ifndef RUSAGESTUB_H
#define RUSAGESTUB_H
#include <sys/time.h> /* for struct timeval */
#include <sys/times.h> /* for struct tms */
#include <limits.h> /* for CLK_TCK */
#define RUSAGE_SELF 0
#define RUSAGE_CHILDREN -1
struct rusage
{
struct timeval ru_utime; /* user time used */
struct timeval ru_stime; /* system time used */
};
extern int getrusage(int who, struct rusage * rusage);
#endif /* RUSAGESTUB_H */

View File

@ -1,31 +0,0 @@
/*-------------------------------------------------------------------------
*
* rusagestub.h--
* Stubs for getrusage(3).
*
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: rusagestub.h,v 1.3 1997/09/08 02:26:29 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef RUSAGESTUB_H
#define RUSAGESTUB_H
#include <sys/time.h> /* for struct timeval */
#include <sys/times.h> /* for struct tms */
#include <limits.h> /* for CLK_TCK */
#define RUSAGE_SELF 0
#define RUSAGE_CHILDREN -1
struct rusage
{
struct timeval ru_utime; /* user time used */
struct timeval ru_stime; /* system time used */
};
extern int getrusage(int who, struct rusage * rusage);
#endif /* RUSAGESTUB_H */

View File

@ -1,4 +1,4 @@
/*
/* $Id: inet_aton.c,v 1.11 1997/12/19 13:34:28 scrappy Exp $
*
* This inet_aton() function was taken from the GNU C library and
* incorporated into Postgres for those systems which do not have this

View File

@ -1,2 +1,3 @@
int
inet_aton(const char *cp, struct in_addr * addr);
/* $Id: inet_aton.h,v 1.6 1997/12/19 13:34:29 scrappy Exp $ */
int inet_aton(const char *cp, struct in_addr * addr);

View File

@ -1,3 +1,5 @@
/* $Id: random.c,v 1.2 1997/12/19 13:34:29 scrappy Exp $ */
#include <math.h> /* for pow() prototype */
#include <errno.h>

View File

@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* rusagestub.h,v 1.1.1.1 1994/11/07 05:19:39 andrew Exp
* $Id: rusagestub.h,v 1.2 1997/12/19 13:34:30 scrappy Exp $
*
*-------------------------------------------------------------------------
*/

View File

@ -1,31 +0,0 @@
/*-------------------------------------------------------------------------
*
* rusagestub.h--
* Stubs for getrusage(3).
*
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: rusagestub.h,v 1.3 1997/09/08 02:27:13 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef RUSAGESTUB_H
#define RUSAGESTUB_H
#include <sys/time.h> /* for struct timeval */
#include <sys/times.h> /* for struct tms */
#include <limits.h> /* for CLK_TCK */
#define RUSAGE_SELF 0
#define RUSAGE_CHILDREN -1
struct rusage
{
struct timeval ru_utime; /* user time used */
struct timeval ru_stime; /* system time used */
};
extern int getrusage(int who, struct rusage * rusage);
#endif /* RUSAGESTUB_H */

View File

@ -1,3 +1,5 @@
/* $Id: srandom.c,v 1.3 1997/12/19 13:34:31 scrappy Exp $ */
#include <math.h> /* for pow() prototype */
#include <errno.h>

View File

@ -1,3 +1,5 @@
/* $Id: strcasecmp.c,v 1.2 1997/12/19 13:34:32 scrappy Exp $ */
/*
* Copyright (c) 1987 Regents of the University of California.
* All rights reserved.

View File

@ -1,3 +1,5 @@
/* $Id: strerror.c,v 1.4 1997/12/19 13:34:32 scrappy Exp $ */
/*
* strerror - map error number to descriptive string
*

View File

@ -1,31 +0,0 @@
/*-------------------------------------------------------------------------
*
* rusagestub.h--
* Stubs for getrusage(3).
*
*
* Copyright (c) 1994, Regents of the University of California
*
* rusagestub.h,v 1.1.1.1 1994/11/07 05:19:39 andrew Exp
*
*-------------------------------------------------------------------------
*/
#ifndef RUSAGESTUB_H
#define RUSAGESTUB_H
#include <sys/time.h> /* for struct timeval */
#include <sys/times.h> /* for struct tms */
#include <limits.h> /* for CLK_TCK */
#define RUSAGE_SELF 0
#define RUSAGE_CHILDREN -1
struct rusage
{
struct timeval ru_utime; /* user time used */
struct timeval ru_stime; /* system time used */
};
extern int getrusage(int who, struct rusage * rusage);
#endif /* RUSAGESTUB_H */

View File

@ -1,31 +0,0 @@
/*-------------------------------------------------------------------------
*
* rusagestub.h--
* Stubs for getrusage(3).
*
*
* Copyright (c) 1994, Regents of the University of California
*
* rusagestub.h,v 1.1.1.1 1994/11/07 05:19:39 andrew Exp
*
*-------------------------------------------------------------------------
*/
#ifndef RUSAGESTUB_H
#define RUSAGESTUB_H
#include <sys/time.h> /* for struct timeval */
#include <sys/times.h> /* for struct tms */
#include <limits.h> /* for CLK_TCK */
#define RUSAGE_SELF 0
#define RUSAGE_CHILDREN -1
struct rusage
{
struct timeval ru_utime; /* user time used */
struct timeval ru_stime; /* system time used */
};
extern int getrusage(int who, struct rusage * rusage);
#endif /* RUSAGESTUB_H */