aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/postmaster/syslogger.h2
-rw-r--r--src/include/storage/pmsignal.h2
-rw-r--r--src/include/storage/proc.h4
-rw-r--r--src/include/storage/procsignal.h2
-rw-r--r--src/include/utils/guc.h10
5 files changed, 10 insertions, 10 deletions
diff --git a/src/include/postmaster/syslogger.h b/src/include/postmaster/syslogger.h
index b5fc239ba9c..94ea263f2bf 100644
--- a/src/include/postmaster/syslogger.h
+++ b/src/include/postmaster/syslogger.h
@@ -76,7 +76,7 @@ extern PGDLLIMPORT bool Log_truncate_on_rotation;
extern PGDLLIMPORT int Log_file_mode;
#ifdef EXEC_BACKEND
-extern pg_time_t first_syslogger_file_time;
+extern PGDLLIMPORT pg_time_t first_syslogger_file_time;
#endif
#ifndef WIN32
diff --git a/src/include/storage/pmsignal.h b/src/include/storage/pmsignal.h
index 0c9a7e32a8a..87ac91848bc 100644
--- a/src/include/storage/pmsignal.h
+++ b/src/include/storage/pmsignal.h
@@ -58,7 +58,7 @@ typedef enum
typedef struct PMSignalData PMSignalData;
#ifdef EXEC_BACKEND
-extern volatile PMSignalData *PMSignalState;
+extern PGDLLIMPORT volatile PMSignalData *PMSignalState;
#endif
/*
diff --git a/src/include/storage/proc.h b/src/include/storage/proc.h
index bbd893a544e..deeb06c9e01 100644
--- a/src/include/storage/proc.h
+++ b/src/include/storage/proc.h
@@ -454,8 +454,8 @@ extern PGDLLIMPORT int IdleSessionTimeout;
extern PGDLLIMPORT bool log_lock_waits;
#ifdef EXEC_BACKEND
-extern slock_t *ProcStructLock;
-extern PGPROC *AuxiliaryProcs;
+extern PGDLLIMPORT slock_t *ProcStructLock;
+extern PGDLLIMPORT PGPROC *AuxiliaryProcs;
#endif
diff --git a/src/include/storage/procsignal.h b/src/include/storage/procsignal.h
index 2516869465d..f94c11a9a84 100644
--- a/src/include/storage/procsignal.h
+++ b/src/include/storage/procsignal.h
@@ -77,7 +77,7 @@ extern void procsignal_sigusr1_handler(SIGNAL_ARGS);
typedef struct ProcSignalHeader ProcSignalHeader;
#ifdef EXEC_BACKEND
-extern ProcSignalHeader *ProcSignal;
+extern PGDLLIMPORT ProcSignalHeader *ProcSignal;
#endif
#endif /* PROCSIGNAL_H */
diff --git a/src/include/utils/guc.h b/src/include/utils/guc.h
index b80cf8e839a..840b0fe57ff 100644
--- a/src/include/utils/guc.h
+++ b/src/include/utils/guc.h
@@ -312,11 +312,11 @@ extern PGDLLIMPORT bool optimize_bounded_sort;
* that would then require including the definition of struct
* config_enum_entry into those header files.)
*/
-extern const struct config_enum_entry archive_mode_options[];
-extern const struct config_enum_entry dynamic_shared_memory_options[];
-extern const struct config_enum_entry recovery_target_action_options[];
-extern const struct config_enum_entry wal_level_options[];
-extern const struct config_enum_entry wal_sync_method_options[];
+extern PGDLLIMPORT const struct config_enum_entry archive_mode_options[];
+extern PGDLLIMPORT const struct config_enum_entry dynamic_shared_memory_options[];
+extern PGDLLIMPORT const struct config_enum_entry recovery_target_action_options[];
+extern PGDLLIMPORT const struct config_enum_entry wal_level_options[];
+extern PGDLLIMPORT const struct config_enum_entry wal_sync_method_options[];
/*
* Functions exported by guc.c