Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit de9d7f4

Browse files
committed
Add DLLIMPORT declarations needed by contrib modules.
1 parent 0530d7a commit de9d7f4

File tree

5 files changed

+8
-11
lines changed

5 files changed

+8
-11
lines changed

contrib/dblink/dblink.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,4 @@ extern Datum dblink_build_sql_delete(PG_FUNCTION_ARGS);
7474
extern Datum dblink_build_sql_update(PG_FUNCTION_ARGS);
7575
extern Datum dblink_current_query(PG_FUNCTION_ARGS);
7676

77-
extern char *debug_query_string;
78-
7977
#endif /* DBLINK_H */

src/include/storage/bufmgr.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: bufmgr.h,v 1.64 2002/09/04 20:31:45 momjian Exp $
10+
* $Id: bufmgr.h,v 1.65 2002/10/21 18:57:34 petere Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -26,12 +26,12 @@ typedef void *Block;
2626
extern int NBuffers;
2727

2828
/* in buf_init.c */
29-
extern Block *BufferBlockPointers;
29+
extern DLLIMPORT Block *BufferBlockPointers;
3030
extern long *PrivateRefCount;
3131

3232
/* in localbuf.c */
3333
extern int NLocBuffer;
34-
extern Block *LocalBufferBlockPointers;
34+
extern DLLIMPORT Block *LocalBufferBlockPointers;
3535
extern long *LocalRefCount;
3636

3737
/* special pageno for bget */

src/include/storage/proc.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: proc.h,v 1.60 2002/09/04 20:31:45 momjian Exp $
10+
* $Id: proc.h,v 1.61 2002/10/21 18:57:34 petere Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -73,7 +73,7 @@ struct PGPROC
7373
/* NOTE: "typedef struct PGPROC PGPROC" appears in storage/lock.h. */
7474

7575

76-
extern PGPROC *MyProc;
76+
extern DLLIMPORT PGPROC *MyProc;
7777

7878

7979
/*

src/include/tcop/tcopprot.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: tcopprot.h,v 1.50 2002/10/14 23:49:20 tgl Exp $
10+
* $Id: tcopprot.h,v 1.51 2002/10/21 18:57:35 petere Exp $
1111
*
1212
* OLD COMMENTS
1313
* This file was created so that other c files could get the two
@@ -32,6 +32,7 @@ extern bool InError;
3232
extern CommandDest whereToSendOutput;
3333
extern bool HostnameLookup;
3434
extern bool ShowPortNumber;
35+
extern DLLIMPORT char* debug_query_string;
3536

3637
#ifndef BOOTSTRAP_INCLUDE
3738

src/include/utils/guc.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* External declarations pertaining to backend/utils/misc/guc.c and
55
* backend/utils/misc/guc-file.l
66
*
7-
* $Id: guc.h,v 1.23 2002/09/04 20:31:45 momjian Exp $
7+
* $Id: guc.h,v 1.24 2002/10/21 18:57:35 petere Exp $
88
*/
99
#ifndef GUC_H
1010
#define GUC_H
@@ -125,8 +125,6 @@ extern bool Explain_pretty_print;
125125
extern bool SQL_inheritance;
126126
extern bool Australian_timezones;
127127

128-
extern char *debug_query_string;
129-
130128
extern int log_min_error_statement;
131129
extern char *log_min_error_statement_str;
132130
extern const char log_min_error_statement_str_default[];

0 commit comments

Comments
 (0)