Skip to content
Snippets Groups Projects
Commit eeece9e6 authored by Peter Eisentraut's avatar Peter Eisentraut
Browse files

Unify calling conventions for postgres/postmaster sub-main functions

There was a wild mix of calling conventions: Some were declared to
return void and didn't return, some returned an int exit code, some
claimed to return an exit code, which the callers checked, but
actually never returned, and so on.

Now all of these functions are declared to return void and decorated
with attribute noreturn and don't return.  That's easiest, and most
code already worked that way.
parent c7d47abd
No related branches found
No related tags found
No related merge requests found
Showing
with 56 additions and 59 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment