mirror of
https://github.com/postgres/postgres.git
synced 2025-11-06 07:49:08 +03:00
Add 'static' to file-local variables missing it.
Noticed when comparing the set of exported symbols without / with -fvisibility=hidden after adding PGDLLIMPORT to intentionally exported symbols. Discussion: https://postgr.es/m/20220512164513.vaheofqp2q24l65r@alap3.anarazel.de
This commit is contained in:
@@ -28,7 +28,7 @@ typedef struct CommandTagBehavior
|
||||
#define PG_CMDTAG(tag, name, evtrgok, rwrok, rowcnt) \
|
||||
{ name, evtrgok, rwrok, rowcnt },
|
||||
|
||||
const CommandTagBehavior tag_behavior[COMMAND_TAG_NEXTTAG] = {
|
||||
static const CommandTagBehavior tag_behavior[COMMAND_TAG_NEXTTAG] = {
|
||||
#include "tcop/cmdtaglist.h"
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user