Skip to content

Remove declaration of static function XPCServiceConnectionHandler. Th…#2

Open
danielpunkass wants to merge 1 commit intoiMediaSandboxing:masterfrom
danielpunkass:quiet-unimplemented-warning
Open

Remove declaration of static function XPCServiceConnectionHandler. Th…#2
danielpunkass wants to merge 1 commit intoiMediaSandboxing:masterfrom
danielpunkass:quiet-unimplemented-warning

Conversation

@danielpunkass
Copy link

…e presence of this declaration caused warnings about unimplemented functions in files that import the header and have -Wunused-functions enabled. I don't see any value to retaining the declaration in the public header, as it's declared static and thus private to the implementation. Steve Streza's original comment that you probably shouldn't explicilty pass the function to xpc_main seems like more than just a good idea.

…e presence of this declaration caused warnings about unimplemented functions in files that import the header and have -Wunused-functions enabled. I don't see any value to retaining the declaration in the public header, as it's declared static and thus private to the implementation. Steve Streza's original comment that you probably shouldn't explicilty pass the function to xpc_main seems like more than just a good idea.
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.

1 participant