Skip to content

Commit b3fe6bc

Browse files
committed
Remove use of "miscadmin.h" in port C files and remove test for frontend
in miscadmin.h.
1 parent cd8db95 commit b3fe6bc

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

src/include/miscadmin.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
1414
* Portions Copyright (c) 1994, Regents of the University of California
1515
*
16-
* $PostgreSQL: pgsql/src/include/miscadmin.h,v 1.170 2004/10/18 16:24:40 momjian Exp $
16+
* $PostgreSQL: pgsql/src/include/miscadmin.h,v 1.171 2004/10/18 19:08:57 momjian Exp $
1717
*
1818
* NOTES
1919
* some of the information in this file should be moved to other files.
@@ -120,9 +120,7 @@ do { \
120120
/*
121121
* from utils/init/globals.c
122122
*/
123-
#ifndef WIN32_CLIENT_ONLY
124123
extern pid_t PostmasterPid;
125-
#endif
126124
extern bool IsPostmasterEnvironment;
127125
extern bool IsUnderPostmaster;
128126

src/port/dirmod.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Win32 (NT, Win2k, XP). replace() doesn't work on Win95/98/Me.
1111
*
1212
* IDENTIFICATION
13-
* $PostgreSQL: pgsql/src/port/dirmod.c,v 1.30 2004/10/17 23:53:30 momjian Exp $
13+
* $PostgreSQL: pgsql/src/port/dirmod.c,v 1.31 2004/10/18 19:08:58 momjian Exp $
1414
*
1515
*-------------------------------------------------------------------------
1616
*/
@@ -37,8 +37,6 @@
3737

3838
#if defined(WIN32) || defined(__CYGWIN__)
3939

40-
#include "miscadmin.h"
41-
4240
#ifndef __CYGWIN__
4341
#include <winioctl.h>
4442
#else

src/port/exec.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $PostgreSQL: pgsql/src/port/exec.c,v 1.29 2004/10/07 15:21:57 momjian Exp $
10+
* $PostgreSQL: pgsql/src/port/exec.c,v 1.30 2004/10/18 19:08:58 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -26,8 +26,6 @@
2626
#include <unistd.h>
2727
#endif
2828

29-
#include "miscadmin.h"
30-
3129
#define _(x) gettext(x)
3230

3331
#ifndef S_IRUSR /* XXX [TRH] should be in a header */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy