]> granicus.if.org Git - postgresql/commitdiff
More cleanups...only need one rusagestub.h
authorMarc G. Fournier <scrappy@hub.org>
Fri, 19 Dec 1997 13:35:17 +0000 (13:35 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Fri, 19 Dec 1997 13:35:17 +0000 (13:35 +0000)
14 files changed:
src/backend/port/gethostname.c
src/backend/port/getrusage.c
src/backend/port/hpux/rusagestub.h [deleted file]
src/backend/port/i386_solaris/rusagestub.h [deleted file]
src/backend/port/inet_aton.c
src/backend/port/inet_aton.h
src/backend/port/random.c
src/backend/port/rusagestub.h
src/backend/port/sparc_solaris/rusagestub.h [deleted file]
src/backend/port/srandom.c
src/backend/port/strcasecmp.c
src/backend/port/strerror.c
src/backend/port/svr4/rusagestub.h [deleted file]
src/backend/port/univel/rusagestub.h [deleted file]

index 2971c795eea8cc43da97b863fc3289f3c2b5b0a2..780e1c6a6f58ceef901481bbdfc4327492f1d8a9 100644 (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>
 
index ce17043875f204370ad6ab79040b188288e9259f..2859bb1af22c85804ddd49986a5f0d11e98491ba 100644 (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>
diff --git a/src/backend/port/hpux/rusagestub.h b/src/backend/port/hpux/rusagestub.h
deleted file mode 100644 (file)
index 9f32a10..0000000
+++ /dev/null
@@ -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 */
diff --git a/src/backend/port/i386_solaris/rusagestub.h b/src/backend/port/i386_solaris/rusagestub.h
deleted file mode 100644 (file)
index 1370e50..0000000
+++ /dev/null
@@ -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 */
index 02780d8a0cc60a595e9ea9aaed4da9e3e00626ac..098de3ddb5567e9cab5f36279b9001bb32dd63a7 100644 (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
index 8d04f544bcd727dee42a4aa81c57565bb4988383..f91f93e2c659bc9240e211ac8f38b7182b801f1e 100644 (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);
index 5cef1d831574c8558a70cf2b88ea94607980ffe2..cf74fcafab869a9eb0f14e89a59071f632fe022c 100644 (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>
index 9f32a10cc10e4e941141bdaec801b4dc26aef953..143df2e3456997165ce5dd31ad55074fcd936582 100644 (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 $ 
  *
  *-------------------------------------------------------------------------
  */
diff --git a/src/backend/port/sparc_solaris/rusagestub.h b/src/backend/port/sparc_solaris/rusagestub.h
deleted file mode 100644 (file)
index 708cfc9..0000000
+++ /dev/null
@@ -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 */
index 1a464f21241ef7c1722563920b7c6e437ff41100..e4ecbbb28ea96e5adb8d78a807a93cd60d0fbda7 100644 (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>
index bb83dcc7eaebadd75bf6bc93bd19843ea5e493f8..58eac544e1c257497b085374b87c0b0798aa946f 100644 (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.
index 2e0511d04d38fc99fc25b6492faeca343d78f354..220b68cbfa5f01dc101a2768f1912df9faaa323f 100644 (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
  *
diff --git a/src/backend/port/svr4/rusagestub.h b/src/backend/port/svr4/rusagestub.h
deleted file mode 100644 (file)
index 9f32a10..0000000
+++ /dev/null
@@ -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 */
diff --git a/src/backend/port/univel/rusagestub.h b/src/backend/port/univel/rusagestub.h
deleted file mode 100644 (file)
index 9f32a10..0000000
+++ /dev/null
@@ -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 */