mirror of
https://github.com/postgres/postgres.git
synced 2026-02-14 16:23:59 -05:00
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.
17 lines
459 B
C
17 lines
459 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* help_config.h
|
|
* Interface to the --help-config option of main.c
|
|
*
|
|
* Portions Copyright (c) 1996-2012, PostgreSQL Global Development Group
|
|
*
|
|
* src/include/utils/help_config.h
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef HELP_CONFIG_H
|
|
#define HELP_CONFIG_H 1
|
|
|
|
extern void GucInfoMain(void) __attribute__((noreturn));
|
|
|
|
#endif
|