Skip to content

[minor] Place functions into anonymous namespace#94

Open
dentiny wants to merge 1 commit into
duckdb:mainfrom
dentiny:hjiang/httpfs-anonymous-namespace
Open

[minor] Place functions into anonymous namespace#94
dentiny wants to merge 1 commit into
duckdb:mainfrom
dentiny:hjiang/httpfs-anonymous-namespace

Conversation

@dentiny

@dentiny dentiny commented Aug 4, 2025

Copy link
Copy Markdown
Member

I use the same function name TimestampToTimeT under duckdb namespace, met some linking issue and found we already have the same function under the same namespace at httpfs.

This PR is a no-op trivial change to place functions only used in impl file into an anonymous namespace, to scope it only visible from the same translation unit.

Follows PR in ducdb main repo: duckdb/duckdb#18177

@Tmonster Tmonster left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!
LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants