Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit768ceee

Browse files
committed
Add missing PGDLLIMPORT markings
All backend-side variables should be marked with PGDLLIMPORT, as perpolicy introduced in8ec5694.aafc05d has forgottenMyClientSocket, and05c3980 LoadedSSL.These can be spotted with a command like this one (be careful of notswitching __pg_log_level):src/tools/mark_pgdllimport.pl $(git ls-files src/include/)Reported-by: Peter EisentrautDiscussion:https://postgr.es/m/ZhzkRzrkKhbeQMRm@paquier.xyz
1 parent09d9800 commit768ceee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/include/postmaster/postmaster.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ extern PGDLLIMPORT int postmaster_alive_fds[2];
5252

5353
externPGDLLIMPORTconstchar*progname;
5454

55-
externboolLoadedSSL;
55+
externPGDLLIMPORTboolLoadedSSL;
5656

5757
externvoidPostmasterMain(intargc,char*argv[])pg_attribute_noreturn();
5858
externvoidClosePostmasterPorts(boolam_syslogger);
@@ -74,7 +74,7 @@ extern void pgwin32_register_deadchild_callback(HANDLE procHandle, DWORD procId)
7474
#endif
7575

7676
/* defined in globals.c */
77-
externstructClientSocket*MyClientSocket;
77+
externPGDLLIMPORTstructClientSocket*MyClientSocket;
7878

7979
/* prototypes for functions in launch_backend.c */
8080
externpid_tpostmaster_child_launch(BackendTypechild_type,char*startup_data,size_tstartup_data_len,structClientSocket*sock);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp