mirror of
https://github.com/postgres/postgres.git
synced 2025-11-13 16:22:44 +03:00
Clean up #include in /include directory. Add scripts for checking includes.
This commit is contained in:
@@ -19,7 +19,6 @@
|
||||
#include <dld.h>
|
||||
#include "postgres.h"
|
||||
#include "dynloader.h"
|
||||
#include "utils/elog.h"
|
||||
#include "fmgr.h"
|
||||
|
||||
extern char *pg_pathname;
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/port/dynloader/linux.c,v 1.11 1999/02/21 03:49:13 scrappy Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/port/dynloader/linux.c,v 1.12 1999/07/15 15:19:35 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -22,7 +22,6 @@
|
||||
#include <dld.h>
|
||||
#endif
|
||||
#include "dynloader.h"
|
||||
#include "utils/elog.h"
|
||||
#include "fmgr.h"
|
||||
|
||||
#ifdef NOT_USED
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/port/dynloader/ultrix4.c,v 1.5 1999/02/13 23:17:29 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/port/dynloader/ultrix4.c,v 1.6 1999/07/15 15:19:36 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -20,7 +20,6 @@
|
||||
#include "postgres.h"
|
||||
#include "fmgr.h"
|
||||
#include "port-protos.h"
|
||||
#include "utils/elog.h"
|
||||
|
||||
extern char *pg_pathname;
|
||||
|
||||
|
||||
@@ -1,12 +1,9 @@
|
||||
/* $Id: random.c,v 1.6 1999/02/07 22:07:02 tgl Exp $ */
|
||||
/* $Id: random.c,v 1.7 1999/07/15 15:19:33 momjian Exp $ */
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <math.h> /* for pow() prototype */
|
||||
#include <errno.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "rusagestub.h"
|
||||
|
||||
long
|
||||
random()
|
||||
{
|
||||
|
||||
@@ -1,12 +1,9 @@
|
||||
/* $Id: srandom.c,v 1.6 1999/02/07 22:07:02 tgl Exp $ */
|
||||
/* $Id: srandom.c,v 1.7 1999/07/15 15:19:34 momjian Exp $ */
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <math.h> /* for pow() prototype */
|
||||
#include <errno.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "rusagestub.h"
|
||||
|
||||
void
|
||||
srandom(unsigned int seed)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user